Drag[en]gine Script Module DragonScript Script API  1.0
AnimatorTransitionMap Class Reference

Animator transition parameter map. More...

Inheritance diagram for AnimatorTransitionMap:

Public Member Functions

void forEach (Block ablock)
 Visit animator transitions with block. More...
 
int getCount ()
 Number of transitions. More...
 
AnimatorTransition getNamed (StringID name)
 Animator transition for name or null if not found. More...
 
bool hasNamed (StringID name)
 Animator transition for name is present. More...
 
AnimatorTransitionMap new ()
 Create animator transition map. More...
 
AnimatorTransitionMap new (AnimatorTransitionMap copy)
 Create copy of animator transition map. More...
 
void removeAll ()
 Remove all animator transition. More...
 
void removeNamed (StringID name)
 Remove animator transition for name. More...
 
void setNamed (StringID name, AnimatorTransition transition)
 Set animator transition for name. More...
 

Detailed Description

Animator transition parameter map.

Maps names to animator transitions. The names are game script specific and can be animator names or other kinds of identifiers used to pick the correct animator transition.

Author
Pl├╝ss Roland
Version
1.0
Date
2015

Member Function Documentation

§ forEach()

void forEach ( Block  ablock)

Visit animator transitions with block.

First block parameter is animator name (StringID). Second block parameter is animator transition (AnimatorTransition).

§ getCount()

int getCount ( )

Number of transitions.

§ getNamed()

AnimatorTransition getNamed ( StringID  name)

Animator transition for name or null if not found.

§ hasNamed()

bool hasNamed ( StringID  name)

Animator transition for name is present.

§ new() [1/2]

Create animator transition map.

§ new() [2/2]

Create copy of animator transition map.

§ removeAll()

void removeAll ( )

Remove all animator transition.

§ removeNamed()

void removeNamed ( StringID  name)

Remove animator transition for name.

§ setNamed()

void setNamed ( StringID  name,
AnimatorTransition  transition 
)

Set animator transition for name.


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