cee::ug::StateSelectionPropertyHandler

class StateSelectionPropertyHandler

Property handler for state selection properties.

Public Types

enum PropertyKey

List of property keys for StateSelectionPropertyHandler.

Values:

enumerator STATE_IDS

Array of state ids.

enumerator MODE_SHAPE_NUM_FRAMES

Number of mode shape animation frames.

enumerator MODE_SHAPE_ANIMATION_TYPE

Mode shape animation type.

(QUARTER, HALF or FULL)

enumerator MODE_SHAPE_INTERPOLATION_TYPE

Mode shape interpolation type.

(LINEAR or SINE)

enumerator MODE_SHAPE_INTERPOLATE_SCALARS

Interpolate mode shape scalars on/off.

Public Functions

StateSelectionPropertyHandler(PropertySet *propSet)

Creates a state selection property handler from a given property set propSet.

Variant propertyValue(PropertyKey key) const

Returns the property value for the specified property key.

Returns an empty Variant if the property key was not found.

void setPropertyValue(PropertyKey key, Variant data)

Sets the property key and value to this handlers property set.

If key exists in the property set, the paired property value is updated to data. Otherwise the key/value pair is added to the property set.

void applyToModelSpec(ModelSpec *modelSpec) const

Applies the properties in this property set to the specified model specification.

void buildProperties(const ModelSpec &modelSpec)

Sets the property keys and values for this property set from the model specification modelSpec.

Public Static Functions

static Str propertySetClassType()

Returns the class type of the property set.

static bool isValidPropertySet(const PropertySet &propSet)

Returns true if the specified property set is a valid state selection property set.