A* Pathfinding Project  4.2.5
The A* Pathfinding Project for Unity 3D
AnimationLink Class Reference

Classes

class  LinkClip
 

Public Member Functions

void CalculateOffsets (List< Vector3 > trace, out Vector3 endPosition)
 
override void OnDrawGizmosSelected ()
 
- Public Member Functions inherited from NodeLink2
void Apply (bool forceNewCheck)
 
void InternalOnPostScan ()
 
void OnDrawGizmos ()
 
void OnDrawGizmos (bool selected)
 
override void OnGraphsPostUpdate ()
 Called after graphs have been updated using GraphUpdateObjects. More...
 
override void OnPostScan ()
 Called right after all graphs have been scanned. More...
 
- Public Member Functions inherited from GraphModifier
virtual void OnGraphsPreUpdate ()
 Called before graphs are updated using GraphUpdateObjects. More...
 
virtual void OnLatePostScan ()
 Called at the end of the scanning procedure. More...
 
virtual void OnPostCacheLoad ()
 Called after cached graphs have been loaded. More...
 
virtual void OnPreScan ()
 Called right before graphs are going to be scanned. More...
 

Public Attributes

float animSpeed = 1
 
string boneRoot = "bn_COG_Root"
 
string clip
 
GameObject referenceMesh
 
bool reverseAnim = true
 
LinkClip [] sequence
 
- Public Attributes inherited from NodeLink2
float costFactor = 1.0f
 The connection will be this times harder/slower to traverse. More...
 
Transform end
 End position of the link. More...
 
bool oneWay = false
 Make a one-way connection. More...
 

Static Private Member Functions

static Transform SearchRec (Transform tr, string name)
 

Additional Inherited Members

- Public Types inherited from GraphModifier
enum  EventType {
  PostScan = 1 << 0, PreScan = 1 << 1, LatePostScan = 1 << 2, PreUpdate = 1 << 3,
  PostUpdate = 1 << 4, PostCacheLoad = 1 << 5
}
 GraphModifier event type. More...
 
- Static Public Member Functions inherited from NodeLink2
static NodeLink2 GetNodeLink (GraphNode node)
 
- Static Public Member Functions inherited from GraphModifier
static void FindAllModifiers ()
 
static void TriggerEvent (GraphModifier.EventType type)
 Triggers an event for all active graph modifiers. More...
 
- Protected Member Functions inherited from NodeLink2
override void OnDisable ()
 Removes this modifier from list of active modifiers. More...
 
override void OnEnable ()
 Adds this modifier to list of active modifiers. More...
 
- Protected Member Functions inherited from GraphModifier
override void Awake ()
 
virtual void OnDestroy ()
 
override void Reset ()
 Handle serialization backwards compatibility. More...
 
- Protected Member Functions inherited from VersionedMonoBehaviour
virtual int OnUpgradeSerializedData (int version, bool unityThread)
 Handle serialization backwards compatibility. More...
 
- Static Protected Member Functions inherited from GraphModifier
static List< T > GetModifiersOfType< T > ()
 
- Protected Attributes inherited from GraphModifier
ulong uniqueID
 Unique persistent ID for this component, used for serialization. More...
 
- Static Protected Attributes inherited from NodeLink2
static Dictionary< GraphNode, NodeLink2reference = new Dictionary<GraphNode, NodeLink2>()
 
- Static Protected Attributes inherited from GraphModifier
static Dictionary< ulong, GraphModifierusedIDs = new Dictionary<ulong, GraphModifier>()
 Maps persistent IDs to the component that uses it. More...
 
- Static Package Functions inherited from NodeLink2
static void DeserializeReferences (Pathfinding.Serialization.GraphSerializationContext ctx)
 
static void SerializeReferences (Pathfinding.Serialization.GraphSerializationContext ctx)
 
- Properties inherited from NodeLink2
PointNode endNode [get, private set]
 
GraphNode EndNode [get]
 
Transform EndTransform [get]
 
PointNode startNode [get, private set]
 
GraphNode StartNode [get]
 
Transform StartTransform [get]
 

Member Function Documentation

◆ CalculateOffsets()

void CalculateOffsets ( List< Vector3 >  trace,
out Vector3  endPosition 
)

◆ OnDrawGizmosSelected()

override void OnDrawGizmosSelected ( )
virtual

Reimplemented from NodeLink2.

◆ SearchRec()

static Transform SearchRec ( Transform  tr,
string  name 
)
staticprivate

Member Data Documentation

◆ animSpeed

float animSpeed = 1

◆ boneRoot

string boneRoot = "bn_COG_Root"

◆ clip

string clip

◆ referenceMesh

GameObject referenceMesh

◆ reverseAnim

bool reverseAnim = true

◆ sequence

LinkClip [] sequence

The documentation for this class was generated from the following file: