|
Angulos
|
A component that renders a rigid body object. More...
Public Member Functions | |
| void | Destroy () |
| Stop rendering the object. This is not the same as disabling the component, as the component will not still be active. | |
| void | Disable () |
| Stop rendering the object. This is not the saem as destroying the object, as the object will still be active. | |
| void | Start () |
| Start rendering the object. | |
| void | TickCall () |
| Called every frame. Currently does nothing. | |
| void | HandleDrawing (ref InternalSVKRenderer renderer) |
| Called every frame. Currently does nothing. | |
| void | UpdateCommandBufferRecorder () |
| Updates a command buffer recorder for the object. This is necessary if the mesh or texture changes. | |
| void | OnRendererInitialized () |
| Initializes the renderer for the component. | |
| void | OnObjectRenderInitialized () |
| Currently does nothing. | |
| Public Member Functions inherited from Angulos._3d.Components.IAngulosComponent | |
| void | UpdateCall () |
| Called every [UpdateTiming] frames. | |
| void | ParentMeshUpdate () |
| Called when a the parent mesh changes. | |
| void | FrameIndependentUpdate () |
| Called every [FrameIndependentUpdateTiming] units of time. Will be constant, even if a the renderer is frozen. This should not be overused. | |
Properties | |
| ushort | calls [get, set] |
| See IAngulosComponent.calls. | |
| bool | Working [get, set] |
| See IAngulosComponent.Working. | |
| ushort | UpdateTiming [get, set] |
| See IAngulosComponent.UpdateTiming. | |
| TimeSpan | FrameIndependentUpdateTiming [get, set] |
| See IAngulosComponent.FrameIndependentUpdateTiming. | |
| SimulatedObject | Parent [get, set] |
| The parent object of the component. | |
| InternalSVKRenderer | AssociatedRenderer [get, set] |
| The renderer to render to. | |
| SVKObject | AssociatedRenderObject [get, set] |
| The associated object to render. | |
| bool | HasBeenInitialized [get, set] |
| If the component has been initialized. If false, the ECS will call Start() on the component. | |
| bool | EnableFrameIndependentUpdate = false [get, set] |
| If frame independant updates should be performed. This should only be used for time-sensitive components like animation. | |
A component that renders a rigid body object.
|
inline |
Stop rendering the object. This is not the same as disabling the component, as the component will not still be active.
Implements Angulos._3d.Components.IAngulosComponent.
|
inline |
Stop rendering the object. This is not the saem as destroying the object, as the object will still be active.
Implements Angulos._3d.Components.IAngulosComponent.
|
inline |
Called every frame. Currently does nothing.
| renderer |
|
inline |
Currently does nothing.
Implements Angulos._3d.Components.RenderComponents.IRenderComponent.
|
inline |
Initializes the renderer for the component.
Implements Angulos._3d.Components.RenderComponents.IRenderComponent.
|
inline |
Start rendering the object.
Implements Angulos._3d.Components.IAngulosComponent.
|
inline |
Called every frame. Currently does nothing.
Implements Angulos._3d.Components.IAngulosComponent.
|
inline |
Updates a command buffer recorder for the object. This is necessary if the mesh or texture changes.
Implements Angulos._3d.Components.RenderComponents.IRenderComponent.
|
getset |
Implements Angulos._3d.Components.IAngulosComponent.
|
getset |
If frame independant updates should be performed. This should only be used for time-sensitive components like animation.
Implements Angulos._3d.Components.IAngulosComponent.
|
getset |
|
getset |
If the component has been initialized. If false, the ECS will call Start() on the component.
Implements Angulos._3d.Components.IAngulosComponent.
|
getset |
The parent object of the component.
Implements Angulos._3d.Components.IAngulosComponent.
|
getset |
See IAngulosComponent.UpdateTiming.
Implements Angulos._3d.Components.IAngulosComponent.
|
getset |
See IAngulosComponent.Working.
Implements Angulos._3d.Components.IAngulosComponent.