nape.phys
| .. | |
|---|---|
| Body | Class representing a physics Rigid Body. |
| BodyIterator | Haxe Iterator |
| BodyList | Nape list of Body type objects
list.foreach(function (obj) {
});
This method is inlined so that in haxe no closure will need to be created.
In AS3, a closure would need to be created in general, so for performance reasons you 'may' choose to use iteration as follows:
for (var i:int = 0; i < list.length; i++) { |
| BodyType | Enumeration of rigid body types. |
| Compound | Compound represents a grouping of physics objects into a single object.
|
| CompoundIterator | Haxe Iterator |
| CompoundList | Nape list of Compound type objects
list.foreach(function (obj) {
});
This method is inlined so that in haxe no closure will need to be created.
In AS3, a closure would need to be created in general, so for performance reasons you 'may' choose to use iteration as follows:
for (var i:int = 0; i < list.length; i++) { |
| FluidProperties | FluidProperties providing shared parameters for fluid interaction. |
| GravMassMode | Enumeration of GravMassMode values for a Body. |
| InertiaMode | Enumeration of InertiaMode values for a Body. |
| Interactor | |
| InteractorIterator | Haxe Iterator |
| InteractorList | Nape list of Interactor type objects
list.foreach(function (obj) {
});
This method is inlined so that in haxe no closure will need to be created.
In AS3, a closure would need to be created in general, so for performance reasons you 'may' choose to use iteration as follows:
for (var i:int = 0; i < list.length; i++) { |
| MassMode | Enumeration of MassMode values for a Body. |
| Material | Material property providing physical attributes to a Shape. |