Skip to content
API referenceDevelopmentRuntime scriptingEngine ccf7d03f
Synced
  • Stores local transform data and exposes the scene hierarchy relationship.

API: scripting
Implements: InnoEngine.Serialization.ISerializable
Inherits: InnoEngine.Scene.GameComponent
Project: Inno.Scene
Scope: Runtime

public sealed class InnoEngine.Scene.Transform : InnoEngine.Scene.GameComponent, InnoEngine.Serialization.ISerializable
Kind Element Description
Constructors Transform.Constructor Creates a transform with identity local values.
Methods Transform.InverseTransformPoint Transforms a world-space point into this transform’s local space.
Methods Transform.Reset Restores this instance to its initial reusable state.
Methods Transform.SetParent Sets the parent while preserving this transform’s world-space values.
Methods Transform.SetSiblingIndex Moves this transform within its current sibling collection.
Methods Transform.SetWorldTransform Atomically applies world-space translation, rotation, and scale.
Methods Transform.TransformPoint Transforms a local-space point through the complete parent hierarchy.
Properties Transform.children Gets child transforms in sibling order.
Properties Transform.localPosition Gets or sets the local position relative to the parent.
Properties Transform.localRotation Gets or sets the local rotation relative to the parent.
Properties Transform.localScale Gets or sets the local scale relative to the parent.
Properties Transform.localToWorldMatrix Gets the exact local-to-world matrix, including the complete parent hierarchy.
Properties Transform.parent Gets the parent transform, or null for a scene-level object.
Properties Transform.siblingIndex Gets or sets this transform’s index among its siblings.
Properties Transform.worldPosition Gets or sets the world-space position.
Properties Transform.worldRotation Gets or sets the world-space rotation.
Properties Transform.worldScale Gets or sets the world-space scale.
Properties Transform.worldToLocalMatrix Gets the inverse of the exact local-to-world matrix.