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.
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.
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 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();