overview wiki api reference download
 All Classes Functions Variables Typedefs Enumerations Enumerator
Public Member Functions
gameplay::AnimationValue Class Reference

#include <AnimationValue.h>

List of all members.

Public Member Functions

float getFloat (unsigned int index) const
void setFloat (unsigned int index, float value)
void getFloats (unsigned int index, float *values, unsigned int count) const
void setFloats (unsigned int index, float *values, unsigned int count)

Detailed Description

Defines a running animation value which can have one or more floats.


Member Function Documentation

float gameplay::AnimationValue::getFloat ( unsigned int  index) const

Gets the value at the specified index.

Parameters:
indexThe index of the component to get the value for.
Returns:
The float value at the specified index.
void gameplay::AnimationValue::getFloats ( unsigned int  index,
float *  values,
unsigned int  count 
) const

Copies one or more float values from this AnimationValue into the specified array.

Parameters:
indexThe index to start copying from.
valuesPointer to float array to copy values into.
countNumber of values to copy.
void gameplay::AnimationValue::setFloat ( unsigned int  index,
float  value 
)

Sets the value at the specified index.

Parameters:
indexThe index of the component to set the value for.
valueThe value to set the component to.
void gameplay::AnimationValue::setFloats ( unsigned int  index,
float *  values,
unsigned int  count 
)

Copies one or more float values into the AnimationValue.

Parameters:
indexThe index of the first component to set the value for.
valuesArray of values to copy into the AnimationValue.
countNumber of values to in the array to copy in.
 All Classes Functions Variables Typedefs Enumerations Enumerator