[This is preliminary documentation and is subject to change.]
The Body type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| Body |
Methods
| Name | Description | |
|---|---|---|
| ChildEnumerator |
An enumerator to pass through all the child objects (not recursively)
for a specific type
(Inherited from SceneObject.) | |
| CreateObjRef | Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (Inherited from MarshalByRefObject.) | |
| DisableObject |
Used by external API sets, like Physics, to Disable the object in the simulation
(Inherited from SceneObject.) | |
| EnableObject |
Used by external API sets, like Physics, to Enable the object in the simulation
(Inherited from SceneObject.) | |
| Equals | (Inherited from Object.) | |
| FinaliseSimulation |
This one currently doesn't need to do anything
(Overrides SceneObject..::.FinaliseSimulation()()().) | |
| Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
| GetHashCode | Serves as a hash function for a particular type. GetHashCode()()() is suitable for use in hashing algorithms and data structures like a hash table. (Inherited from Object.) | |
| GetLifetimeService | Retrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from MarshalByRefObject.) | |
| getname |
An overridable function to get the name of the Object, useful
for fixed objects, or providing read-only references, etc..
(Inherited from SceneObject.) | |
| GetPos | ||
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| InitialiseSimulation | (Overrides SceneObject..::.InitialiseSimulation(SceneObject).) | |
| InitializeLifetimeService | Obtains a lifetime service object to control the lifetime policy for this instance. (Inherited from MarshalByRefObject.) | |
| MemberwiseClone | Overloaded. | |
| RenderDesign |
Render the object as a design element. This is intended to be overriden by descendents.
Once overridden, it can also be called to recursively render all Child objects.
In general, for rendering, do not wrap a push/pop matrix around this function, keep the matrices
clean and the behaviour consistent.
(Inherited from SceneObject.) | |
| RenderNormal |
Render the object normally. This is intended to be overriden by descendents.
Once overridden, it can also be called to recursively render all Child objects.
In general, for rendering, do not wrap a push/pop matrix around this function, keep the matrices
clean and the behaviour consistent.
(Inherited from SceneObject.) | |
| ResetBody | ||
| SetBodyMatrix |
Regardless of base body type, to render the ODE object, SetBodyMatrix extracts the body position/rotation
across types, forms the transformation matrix and calls it.
| |
| SetMass | ||
| StepSimulation | (Overrides SceneObject..::.StepSimulation(Double, Project).) | |
| ToString | (Inherited from Object.) |
Fields
| Name | Description | |
|---|---|---|
| Children |
List of all the child objects underneath this object
(Inherited from SceneObject.) | |
| isLocked | (Inherited from SceneObject.) | |
| ODEpointer | ||
| tex | ||
| trajectory | (Inherited from Object3D.) | |
| transparent | ||
| twosided |
Properties
| Name | Description | |
|---|---|---|
| BodyColor | ||
| Density | ||
| Enabled |
If Enabled, the Object will participate in the Scene and Render accordingly.
Also, if Enabled, all child objects will subsequently Step the Simulation and Render accordingly.
(Inherited from SceneObject.) | |
| Locked |
Locked represents a Designer feature only. It is used to determine whether the object can currently be selected
(Inherited from SceneObject.) | |
| Mass | ||
| Name |
The Name of the object, used by the Designer. Calls getname() to get the current name
(Inherited from SceneObject.) | |
| Selected | (Inherited from Object3D.) | |
| Trajectory | (Inherited from Object3D.) | |
| Transparent | ||
| TwoSided |