Interface IObjectsComponent.IManagedInterface
Represents the managed interface implemented by its unmanaged counterpart.
public interface IObjectsComponent.IManagedInterface : IUnmanagedInterface
- Inherited Members
Methods
Create(int, Vector3, Vector3, float)
Creates a new object with the specified model ID, position, and rotation.
IObject Create(int modelID, Vector3 position, Vector3 rotation, float drawDist = 0)
Parameters
modelIDintThe model ID of the object.
positionVector3The position of the object.
rotationVector3The rotation of the object.
drawDistfloatThe draw distance of the object. Defaults to 0.
Returns
GetDefaultCameraCollision()
Gets the default camera collision state.
bool GetDefaultCameraCollision()
Returns
GetEventDispatcher()
Gets the event dispatcher for handling object events.
IEventDispatcher<IObjectEventHandler> GetEventDispatcher()
Returns
- IEventDispatcher<IObjectEventHandler>
An event dispatcher for IObjectEventHandler.
SetDefaultCameraCollision(bool)
Sets the default camera collision state.
void SetDefaultCameraCollision(bool collision)
Parameters
collisionboolA value indicating whether camera collision is enabled by default.