SkinnedModelRenderer Target { get; set; }

robot_2Generated
code_blocksInput

Description

The Target property of the CitizenAnimationHelper class specifies the SkinnedModelRenderer that will be used to apply all animation parameters. This property is essential for defining which model the animation helper will manipulate, ensuring that animations are correctly applied to the intended character model.

Usage

To use the Target property, assign it a SkinnedModelRenderer instance that represents the character model you wish to animate. This setup is crucial for the animation helper to function correctly, as it needs to know which model to apply animations to.

Example

// Example of setting the Target property

// Assume 'citizenAnimationHelper' is an instance of CitizenAnimationHelper
// and 'modelRenderer' is an instance of SkinnedModelRenderer

citizenAnimationHelper.Target = modelRenderer;

// Now, any animation parameters set on 'citizenAnimationHelper' will affect 'modelRenderer'.