book_4_sparkGenerated
code_blocksInput

Description

The Parameters property provides access to the animgraph parameters for the skinned model. This allows you to manipulate and query the parameters that control the animation behavior of the model.

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 responding to game events.

Example

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

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

// Get a parameter
float runSpeed = parameters.GetFloat("RunSpeed");

// Clear all parameters
parameters.ClearParameters();