void Set( string v, Vector3 value )
void Set( string v, int value )
void Set( string v, float value )
void Set( string v, bool value )
void Set( string v, Rotation value )

book_4_sparkGenerated
code_blocksInput

Description

The Set method of the SkinnedModelRenderer class is used to assign a Vector3 value to a parameter identified by a string key. This method is part of the parameter management system within the SkinnedModelRenderer, allowing for dynamic adjustments of model parameters at runtime.

Usage

To use the Set method, you need to provide a string key that identifies the parameter you wish to modify, and a Vector3 value that you want to assign to this parameter. This method is useful for setting parameters that control various aspects of the skinned model's behavior or appearance.

Example

// Example of using the Set method
SkinnedModelRenderer renderer = new SkinnedModelRenderer();

// Set a Vector3 parameter
renderer.Set("parameterName", new Vector3(1.0f, 2.0f, 3.0f));