 |
PixelsNodeGetCenterPosition Method |
Returns center position of this ModelNode.
Center position is calculated from the center position of the
Positions that are
transformed by the
Transform (when applyTransformation is true).
Namespace: Ab4d.SharpEngine.SceneNodesAssembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 4.0.9584+ba1aaa26d4181dd3fa8ed7b6398391d1affa36c8
Syntaxpublic 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
See Also