![]() |
Murl Engine Lua Addon API
Version 1.0 beta
|
The ISphereCollider graph node interface.
This interface represents a Graph::ICollider in the shape of a sphere, with a default radius of 1.0 and a default center at the origin (0/0/0).
Get the constant Graph::INode interface. This method returns a constant pointer to the node's Graph::INode interface, to be able to query common node properties such as active state, visibility or ID.
Murl.Graph.INode GetNodeInterface()
Get the constant Graph::ITransform interface. This method returns a constant pointer to the node's Graph::ITransform interface, to be able to query the node's transformation matrix and depth order.
Murl.Graph.ITransform GetTransformInterface()
Get the constant Graph::ICollider interface. This method returns a constant pointer to the node's Graph::ICollider interface, to be able to query common collider-related properties.
Murl.Graph.ICollider GetColliderInterface()
Set the sphere's radius.
Boolean SetRadius(Number radius)
radius | The radius. |
Get the sphere's radius.
Number GetRadius()