Class MotionGraphContainer
Inheritance
MotionGraphContainer
Assembly: NeoFPS.dll
Syntax
public class MotionGraphContainer : ScriptableObject, IMotionGraphElement, INeoSerializableObject
Properties
rootNode
Declaration
public MotionGraph rootNode { get; }
Property Value
Methods
AddDataOverrides(IMotionGraphDataOverride)
Declaration
public void AddDataOverrides(IMotionGraphDataOverride o)
Parameters
AddEventListener(Int32, UnityAction)
Declaration
public void AddEventListener(int hash, UnityAction listener)
Parameters
| Type |
Name |
Description |
| System.Int32 |
hash |
|
| UnityAction |
listener |
|
AddEventListener(String, UnityAction)
Declaration
public void AddEventListener(string propertyName, UnityAction listener)
Parameters
| Type |
Name |
Description |
| System.String |
propertyName |
|
| UnityAction |
listener |
|
ApplyDataOverrides(IMotionGraphDataOverride)
Declaration
[Obsolete("ApplyDataOverrides is has been replaced with Add/RemoveDataOverrides which allows for stacking.")]
public void ApplyDataOverrides(IMotionGraphDataOverride o)
Parameters
CheckReferences(IMotionGraphMap)
Declaration
public void CheckReferences(IMotionGraphMap map)
Parameters
CollectBoolData(List<BoolData>, Boolean)
Declaration
public void CollectBoolData(List<BoolData> list, bool sorted = true)
Parameters
| Type |
Name |
Description |
| System.Collections.Generic.List<BoolData> |
list |
|
| System.Boolean |
sorted |
|
CollectData(List<MotionGraphDataBase>, Boolean)
Declaration
public void CollectData(List<MotionGraphDataBase> list, bool sorted = true)
Parameters
| Type |
Name |
Description |
| System.Collections.Generic.List<MotionGraphDataBase> |
list |
|
| System.Boolean |
sorted |
|
CollectEventParameters(List<EventParameter>)
Declaration
public void CollectEventParameters(List<EventParameter> list)
Parameters
| Type |
Name |
Description |
| System.Collections.Generic.List<EventParameter> |
list |
|
CollectFloatData(List<FloatData>, Boolean)
Declaration
public void CollectFloatData(List<FloatData> list, bool sorted = true)
Parameters
| Type |
Name |
Description |
| System.Collections.Generic.List<FloatData> |
list |
|
| System.Boolean |
sorted |
|
CollectFloatParameters(List<FloatParameter>)
Declaration
public void CollectFloatParameters(List<FloatParameter> list)
Parameters
| Type |
Name |
Description |
| System.Collections.Generic.List<FloatParameter> |
list |
|
CollectIntData(List<IntData>, Boolean)
Declaration
public void CollectIntData(List<IntData> list, bool sorted = true)
Parameters
| Type |
Name |
Description |
| System.Collections.Generic.List<IntData> |
list |
|
| System.Boolean |
sorted |
|
CollectIntParameters(List<IntParameter>)
Declaration
public void CollectIntParameters(List<IntParameter> list)
Parameters
| Type |
Name |
Description |
| System.Collections.Generic.List<IntParameter> |
list |
|
CollectParameters(List<MotionGraphParameter>)
Declaration
public void CollectParameters(List<MotionGraphParameter> list)
Parameters
CollectSwitchParameters(List<SwitchParameter>)
Declaration
public void CollectSwitchParameters(List<SwitchParameter> list)
Parameters
| Type |
Name |
Description |
| System.Collections.Generic.List<SwitchParameter> |
list |
|
Declaration
public void CollectTransformParameters(List<TransformParameter> list)
Parameters
CollectTriggerParameters(List<TriggerParameter>)
Declaration
public void CollectTriggerParameters(List<TriggerParameter> list)
Parameters
CollectVectorParameters(List<VectorParameter>)
Declaration
public void CollectVectorParameters(List<VectorParameter> list)
Parameters
| Type |
Name |
Description |
| System.Collections.Generic.List<VectorParameter> |
list |
|
DeepCopy()
Declaration
public MotionGraphContainer DeepCopy()
Returns
GetEventProperty(Int32)
Declaration
public EventParameter GetEventProperty(int hash)
Parameters
| Type |
Name |
Description |
| System.Int32 |
hash |
|
Returns
GetEventProperty(String)
Declaration
public EventParameter GetEventProperty(string propertyName)
Parameters
| Type |
Name |
Description |
| System.String |
propertyName |
|
Returns
GetFloat(Int32)
Declaration
public float GetFloat(int hash)
Parameters
| Type |
Name |
Description |
| System.Int32 |
hash |
|
Returns
| Type |
Description |
| System.Single |
|
GetFloat(String)
Declaration
public float GetFloat(string propertyName)
Parameters
| Type |
Name |
Description |
| System.String |
propertyName |
|
Returns
| Type |
Description |
| System.Single |
|
GetFloatProperty(Int32)
Declaration
public FloatParameter GetFloatProperty(int hash)
Parameters
| Type |
Name |
Description |
| System.Int32 |
hash |
|
Returns
GetFloatProperty(String)
Declaration
public FloatParameter GetFloatProperty(string propertyName)
Parameters
| Type |
Name |
Description |
| System.String |
propertyName |
|
Returns
GetInt(Int32)
Declaration
public int GetInt(int hash)
Parameters
| Type |
Name |
Description |
| System.Int32 |
hash |
|
Returns
| Type |
Description |
| System.Int32 |
|
GetInt(String)
Declaration
public int GetInt(string propertyName)
Parameters
| Type |
Name |
Description |
| System.String |
propertyName |
|
Returns
| Type |
Description |
| System.Int32 |
|
GetIntProperty(Int32)
Declaration
public IntParameter GetIntProperty(int hash)
Parameters
| Type |
Name |
Description |
| System.Int32 |
hash |
|
Returns
GetIntProperty(String)
Declaration
public IntParameter GetIntProperty(string propertyName)
Parameters
| Type |
Name |
Description |
| System.String |
propertyName |
|
Returns
GetStateFromKey(Int32)
Declaration
public MotionGraphState GetStateFromKey(int key)
Parameters
| Type |
Name |
Description |
| System.Int32 |
key |
|
Returns
GetSwitch(Int32)
Declaration
public bool GetSwitch(int hash)
Parameters
| Type |
Name |
Description |
| System.Int32 |
hash |
|
Returns
| Type |
Description |
| System.Boolean |
|
GetSwitch(String)
Declaration
public bool GetSwitch(string propertyName)
Parameters
| Type |
Name |
Description |
| System.String |
propertyName |
|
Returns
| Type |
Description |
| System.Boolean |
|
GetSwitchProperty(Int32)
Declaration
public SwitchParameter GetSwitchProperty(int hash)
Parameters
| Type |
Name |
Description |
| System.Int32 |
hash |
|
Returns
GetSwitchProperty(String)
Declaration
public SwitchParameter GetSwitchProperty(string propertyName)
Parameters
| Type |
Name |
Description |
| System.String |
propertyName |
|
Returns
Declaration
public Transform GetTransform(int hash)
Parameters
| Type |
Name |
Description |
| System.Int32 |
hash |
|
Returns
| Type |
Description |
| Transform |
|
Declaration
public Transform GetTransform(string propertyName)
Parameters
| Type |
Name |
Description |
| System.String |
propertyName |
|
Returns
| Type |
Description |
| Transform |
|
Declaration
public TransformParameter GetTransformProperty(int hash)
Parameters
| Type |
Name |
Description |
| System.Int32 |
hash |
|
Returns
Declaration
public TransformParameter GetTransformProperty(string propertyName)
Parameters
| Type |
Name |
Description |
| System.String |
propertyName |
|
Returns
GetTriggerProperty(Int32)
Declaration
public TriggerParameter GetTriggerProperty(int hash)
Parameters
| Type |
Name |
Description |
| System.Int32 |
hash |
|
Returns
GetTriggerProperty(String)
Declaration
public TriggerParameter GetTriggerProperty(string propertyName)
Parameters
| Type |
Name |
Description |
| System.String |
propertyName |
|
Returns
GetVector(Int32)
Declaration
public Vector3 GetVector(int hash)
Parameters
| Type |
Name |
Description |
| System.Int32 |
hash |
|
Returns
GetVector(String)
Declaration
public Vector3 GetVector(string propertyName)
Parameters
| Type |
Name |
Description |
| System.String |
propertyName |
|
Returns
GetVectorProperty(Int32)
Declaration
public VectorParameter GetVectorProperty(int hash)
Parameters
| Type |
Name |
Description |
| System.Int32 |
hash |
|
Returns
GetVectorProperty(String)
Declaration
public VectorParameter GetVectorProperty(string propertyName)
Parameters
| Type |
Name |
Description |
| System.String |
propertyName |
|
Returns
Initialise(IMotionController)
Declaration
public void Initialise(IMotionController c)
Parameters
OnValidate()
Declaration
ReadProperties(INeoDeserializer)
Declaration
public void ReadProperties(INeoDeserializer reader)
Parameters
RemoveDataOverrides(IMotionGraphDataOverride)
Declaration
public void RemoveDataOverrides(IMotionGraphDataOverride o)
Parameters
RemoveEventListener(Int32, UnityAction)
Declaration
public void RemoveEventListener(int hash, UnityAction listener)
Parameters
| Type |
Name |
Description |
| System.Int32 |
hash |
|
| UnityAction |
listener |
|
RemoveEventListener(String, UnityAction)
Declaration
public void RemoveEventListener(string propertyName, UnityAction listener)
Parameters
| Type |
Name |
Description |
| System.String |
propertyName |
|
| UnityAction |
listener |
|
ResetCheckedTriggers()
Declaration
public void ResetCheckedTriggers()
SetFloat(Int32, Single)
Declaration
public void SetFloat(int hash, float value)
Parameters
| Type |
Name |
Description |
| System.Int32 |
hash |
|
| System.Single |
value |
|
SetFloat(String, Single)
Declaration
public void SetFloat(string propertyName, float value)
Parameters
| Type |
Name |
Description |
| System.String |
propertyName |
|
| System.Single |
value |
|
SetInt(Int32, Int32)
Declaration
public void SetInt(int hash, int value)
Parameters
| Type |
Name |
Description |
| System.Int32 |
hash |
|
| System.Int32 |
value |
|
SetSwitch(Int32, Boolean)
Declaration
public void SetSwitch(int hash, bool value)
Parameters
| Type |
Name |
Description |
| System.Int32 |
hash |
|
| System.Boolean |
value |
|
SetSwitch(String, Boolean)
Declaration
public void SetSwitch(string propertyName, bool value)
Parameters
| Type |
Name |
Description |
| System.String |
propertyName |
|
| System.Boolean |
value |
|
Declaration
public void SetTransform(int hash, Transform value)
Parameters
| Type |
Name |
Description |
| System.Int32 |
hash |
|
| Transform |
value |
|
Declaration
public void SetTransform(string propertyName, Transform value)
Parameters
| Type |
Name |
Description |
| System.String |
propertyName |
|
| Transform |
value |
|
SetTrigger(Int32)
Declaration
public void SetTrigger(int hash)
Parameters
| Type |
Name |
Description |
| System.Int32 |
hash |
|
SetTrigger(String)
Declaration
public void SetTrigger(string propertyName)
Parameters
| Type |
Name |
Description |
| System.String |
propertyName |
|
SetVector(Int32, Vector3)
Declaration
public void SetVector(int hash, Vector3 value)
Parameters
| Type |
Name |
Description |
| System.Int32 |
hash |
|
| Vector3 |
value |
|
WriteProperties(INeoSerializer)
Declaration
public void WriteProperties(INeoSerializer writer)
Parameters
Implements