Conscience Core
Public Member Functions | Public Attributes | List of all members
MovementStatesParameters Struct Reference

#include <CscSequenceMovements.h>

Public Member Functions

 MovementStatesParameters (MovementStatesType type, int firstStateId, int secondStateId, optional< double > loopFirstStateValue, optional< double > loopSecondStateValue)
 

Public Attributes

MovementStatesType type
 How states alternate (continuous, loop by distance, or loop by time) More...
 
int firstStateId
 start state ID More...
 
int secondStateId
 Alternate/end state ID. More...
 
optional< double > loopFirstStateValue
 Distance or time value for first state (optional) More...
 
optional< double > loopSecondStateValue
 Distance or time value for second state (optional) More...
 

Detailed Description

Holds parameters for state switching during movement.

Constructor & Destructor Documentation

◆ MovementStatesParameters()

MovementStatesParameters::MovementStatesParameters ( MovementStatesType  type,
int  firstStateId,
int  secondStateId,
optional< double >  loopFirstStateValue,
optional< double >  loopSecondStateValue 
)
inline

Member Data Documentation

◆ firstStateId

int MovementStatesParameters::firstStateId

start state ID

◆ loopFirstStateValue

optional<double> MovementStatesParameters::loopFirstStateValue

Distance or time value for first state (optional)

◆ loopSecondStateValue

optional<double> MovementStatesParameters::loopSecondStateValue

Distance or time value for second state (optional)

◆ secondStateId

int MovementStatesParameters::secondStateId

Alternate/end state ID.

◆ type

MovementStatesType MovementStatesParameters::type

How states alternate (continuous, loop by distance, or loop by time)


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