- type
- class
- extends
- nape.phys.Interactor
- subclasses
- nape.shape.Circle, nape.shape.Polygon
Base type for Nape Shape's
Instance Properties hide inherited show inherited
var body : Null<nape.phys.Body> = null
readonly var bounds : nape.geom.AABB
readonly var castBody : Null<Body>
inherited from nape.phys.Interactor
Fast equivalent to cast(interactor, Body)
readonly var castCircle : Null<Circle>
Faster equivalent to casting this to Circle type
readonly var castCompound : Null<Compound>
inherited from nape.phys.Interactor
Fast equivalent to cast(interactor, Compound)
readonly var castPolygon : Null<Polygon>
Faster equivalent to casting this to Polygon type
readonly var castShape : Null<nape.shape.Shape>
inherited from nape.phys.Interactor
Fast equivalent to cast(interactor, Shape)
readonly var cbTypes : nape.callbacks.CbTypeList = []
inherited from nape.phys.Interactor
Set of CbType's assigned to this Interactor.
var filter : nape.dynamics.InteractionFilter = new InteractionFilter()
InteractionFilter used by this shape.
var fluidProperties : nape.phys.FluidProperties = new FluidProperties();
var group : Null<nape.dynamics.InteractionGroup> = null
inherited from nape.phys.Interactor
InteractionGroup assigned to this Interactor.
readonly var id : Int
inherited from nape.phys.Interactor
Unique id of this Interactor.
var localCOM : nape.geom.Vec2
var material : nape.phys.Material = new Material()
Material used by this shape.
readonly var type : ShapeType
Type of shape.
readonly var userData : Dynamic<Dynamic> = {}
inherited from nape.phys.Interactor
readonly var worldCOM : nape.geom.Vec2
Instance Methods hide inherited show inherited
function contains(point:nape.geom.Vec2):Bool
function copy():Shape
isBody():Bool
inherited from nape.phys.Interactor
isCompound():Bool
inherited from nape.phys.Interactor
isShape():Bool
inherited from nape.phys.Interactor