ParameterAccessorclass

Wraps accessing animgraph parameters for a `Sandbox.SkinnedModelRenderer`, and handles (de)serializing overridden values when the renderer is saved or loaded.

object→ParameterAccessor
Namespace
global
Assembly
Sandbox.Engine
Declaration
public sealed class Sandbox.SkinnedModelRenderer.ParameterAccessor

Methods15

Showing 15 methods

public bool Contains(string name)PUBLIC

Do we have an override value for the named animation graph parameter?

ParameterTypeDescription
namestring—
Returns:bool—

public bool GetBool(string v)PUBLIC

ParameterTypeDescription
vstring—
Returns:bool—

public float GetFloat(string v)PUBLIC

ParameterTypeDescription
vstring—
Returns:float—

public int GetInt(string v)PUBLIC

ParameterTypeDescription
vstring—
Returns:int—

public Rotation GetRotation(string v)PUBLIC

ParameterTypeDescription
vstring—
Returns:Rotation—

public Vector3 GetVector(string v)PUBLIC

ParameterTypeDescription
vstring—
Returns:Vector3—

public void Reset(string name)PUBLIC

Set the override value of the named animation graph parameter to its default value, if it exists.

ParameterTypeDescription
namestring—
Returns:void—

Properties1

Showing 1 properties

On this page