robot_2Generated
code_blocksInput

Description

The Parameters property provides access to the animgraph parameters for the skinned model. This allows you to manipulate and control various animation parameters associated with the model's animation graph.

Usage

Use the Parameters property to access and modify the animgraph parameters of a skinned model. This can be useful for dynamically changing animations or adjusting animation states based on game logic.

Example

// Example of accessing the Parameters property
var skinnedModelRenderer = new SkinnedModelRenderer();
var parameters = skinnedModelRenderer.Parameters;

// Set a float parameter
parameters.Set("Speed", 1.5f);

// Get a boolean parameter
bool isJumping = parameters.GetBool("IsJumping");

// Clear all parameters
parameters.ClearParameters();