API ReferenceSandbox
AnimationGraphclass
Methods7
Showing 7 methods
public string GetParameterName(int index)
Get name of parameter at given index
| Parameter | Type | Description |
|---|---|---|
| index | int | — |
Returns:
string—public static Sandbox.AnimationGraph Load(string filename)
Load an animation graph from given file.
| Parameter | Type | Description |
|---|---|---|
| filename | string | — |
public bool TryGetParameterIndex(string name, int index)
Try to get parameter index at given name
| Parameter | Type | Description |
|---|---|---|
| name | string | — |
| index | int | — |
Returns:
bool—No results match this filter.
Properties4
Showing 4 properties
public virtual bool Sandbox.AnimationGraph.IsError { get; set; }
Whether the animation graph is invalid, or has not yet loaded.
Returns:
bool—public virtual bool Sandbox.AnimationGraph.IsValid { get; set; }
Returns:
bool—public string Sandbox.AnimationGraph.Name { get; set; }
Animation graph file name.
Returns:
string—public int Sandbox.AnimationGraph.ParamCount { get; set; }
Number of parameters in this animgraph
Returns:
int—No results match this filter.