|
InstancedMeshNodeGetCenterPosition Method |
Returns center position of this InstancedMeshNode.
When applyTransformation is true (by default), then center position is also transformed by Transform.
Namespace: Ab4d.SharpEngine.SceneNodesAssembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 2.0.8956+4c7684e186ca1be74e7a284fbe739d9a1b843d3c
Syntax public override Vector3 GetCenterPosition(
bool applyTransformation = true,
bool updateIfDirty = true
)
Parameters
- applyTransformation Boolean (Optional)
- when true (by default), then mesh center is transformed by Transform
- updateIfDirty Boolean (Optional)
- when true (by default), then mesh is updated if it is dirty
Return Value
Vector3center position of the InstancedMeshNode
See Also