Angulos
Loading...
Searching...
No Matches
Angulos._3d.Components.IAngulosComponent Interface Reference

The main interface for a component that is managed by the ECS system. More...

Inheritance diagram for Angulos._3d.Components.IAngulosComponent:
Angulos._3d.Components.PhysicsComponents.ICompoundCollideable Angulos._3d.Components.PhysicsComponents.PhysicsPointMassComponent Angulos._3d.Components.PhysicsComponents.PhysicsRigidBodyComponent Angulos._3d.Components.RenderComponents.IRenderComponent Angulos._3d.Components.RenderComponents.RigidRenderComponent Angulos._3d.Components.PhysicsComponents.PhysicsRigidBodyComponent Angulos._3d.Components.RenderComponents.RigidRenderComponent

Public Member Functions

void Start ()
 Start the work.
void Disable ()
 Pause the work.
void TickCall ()
 Called every frame.
void UpdateCall ()
 Called every [UpdateTiming] frames.
void ParentMeshUpdate ()
 Called when a the parent mesh changes.
void Destroy ()
 Permanently remove the component/clean up.
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]
 You shouldn't change this. You can, but it will affect the timing of the UpdateCall call. Just remove the throw new NotImplementedException() in the getter.
bool Working [get, set]
 If the component is currently working.
ushort UpdateTiming [get, set]
 The number of calls to do before executing Update. 2 means Tick will be called 2x more than Update.
TimeSpan FrameIndependentUpdateTiming [get, set]
 The time between each call of the FrameIndependentUpdate method. Measured in actual time, not loops.
SimulatedObject Parent [get, set]
 The parent object of the component.
bool HasBeenInitialized [get, set]
 If the component has been initialized. If false, the ECS will call Start() on the component.
bool EnableFrameIndependentUpdate [get, set]
 If frame independant updates should be performed. This should only be used for time-sensitive components like animation.

Detailed Description

The main interface for a component that is managed by the ECS system.

Member Function Documentation

◆ Destroy()

◆ Disable()

◆ ParentMeshUpdate()

void Angulos._3d.Components.IAngulosComponent.ParentMeshUpdate ( )
inline

◆ Start()

◆ TickCall()

◆ UpdateCall()

void Angulos._3d.Components.IAngulosComponent.UpdateCall ( )
inline

Property Documentation

◆ calls

ushort Angulos._3d.Components.IAngulosComponent.calls
getset

You shouldn't change this. You can, but it will affect the timing of the UpdateCall call. Just remove the throw new NotImplementedException() in the getter.

Implemented in Angulos._3d.Components.PhysicsComponents.PhysicsPointMassComponent, Angulos._3d.Components.PhysicsComponents.PhysicsRigidBodyComponent, and Angulos._3d.Components.RenderComponents.RigidRenderComponent.

◆ EnableFrameIndependentUpdate

bool Angulos._3d.Components.IAngulosComponent.EnableFrameIndependentUpdate
getset

If frame independant updates should be performed. This should only be used for time-sensitive components like animation.

Implemented in Angulos._3d.Components.PhysicsComponents.PhysicsPointMassComponent, Angulos._3d.Components.PhysicsComponents.PhysicsRigidBodyComponent, and Angulos._3d.Components.RenderComponents.RigidRenderComponent.

◆ FrameIndependentUpdateTiming

TimeSpan Angulos._3d.Components.IAngulosComponent.FrameIndependentUpdateTiming
getset

The time between each call of the FrameIndependentUpdate method. Measured in actual time, not loops.

Implemented in Angulos._3d.Components.PhysicsComponents.PhysicsPointMassComponent, and Angulos._3d.Components.RenderComponents.RigidRenderComponent.

◆ HasBeenInitialized

bool Angulos._3d.Components.IAngulosComponent.HasBeenInitialized
getset

◆ Parent

◆ UpdateTiming

ushort Angulos._3d.Components.IAngulosComponent.UpdateTiming
getset

◆ Working


The documentation for this interface was generated from the following file:
  • Sharp/_3d/Components/IAngulosComponent.cs