Transform InterpolatedLocal { get; set; }

robot_2Generated
code_blocksInput

Description

The InterpolatedLocal property of the GameTransform class provides access to the current interpolated local transform. This property is useful for obtaining the transform of a game object that is being interpolated over time, allowing for smooth transitions between states.

Usage

To access the InterpolatedLocal property, you need an instance of the GameTransform class. This property is read-only and returns a Transform object representing the interpolated local transform of the game object.

Example

// Assuming 'gameTransform' is an instance of GameTransform
Transform interpolatedTransform = gameTransform.InterpolatedLocal;

// Use the interpolated transform for rendering or calculations
Vector3 position = interpolatedTransform.Position;
Rotation rotation = interpolatedTransform.Rotation;