AnimationGraphclass

objectResourceAnimationGraph
Namespace
Sandbox
Assembly
Sandbox.Engine
Declaration
public sealed class Sandbox.AnimationGraph : Sandbox.Resource

Methods7

Showing 7 methods

public string GetParameterName(int index)PUBLIC

Get name of parameter at given index

ParameterTypeDescription
indexint
Returns:string

public static Sandbox.AnimationGraph Load(string filename)PUBLICSTATIC

Load an animation graph from given file.

ParameterTypeDescription
filenamestring
Returns:AnimationGraph

public bool TryGetParameterIndex(string name, int index)PUBLIC

Try to get parameter index at given name

ParameterTypeDescription
namestring
indexint
Returns:bool

Properties4

Showing 4 properties

public virtual bool Sandbox.AnimationGraph.IsError { get; set; }PUBLICVIRTUALGETSET

Whether the animation graph is invalid, or has not yet loaded.

Returns:bool

public virtual bool Sandbox.AnimationGraph.IsValid { get; set; }PUBLICVIRTUALGETSET

Returns:bool

public string Sandbox.AnimationGraph.Name { get; set; }PUBLICGETSET

Animation graph file name.

Returns:string

public int Sandbox.AnimationGraph.ParamCount { get; set; }PUBLICGETSET

Number of parameters in this animgraph

Returns:int

On this page