Emergency 2017 Dokumentation  v3.0.1
qsf::logic::SequenceTrackKeyEntityComponentPropertyVec2TimeOfDay Class Reference

#include <SequenceTrackEntityComponentPropertyVec2TimeOfDay.h>

Public Member Functions

 SequenceTrackKeyEntityComponentPropertyVec2TimeOfDay (uint32 frameNumber)
 
glm::vec2 getValue () const
 
void setValue (const glm::vec2 &time)
 
- Public Member Functions inherited from qsf::logic::SequenceTrackKey
 SequenceTrackKey (uint32 frameNumber)
 
uint32 getFrameNumber () const
 Frame number is readonly; if you need to modify the time of a key, you have to remove and re-insert it into the track. More...
 
- Public Member Functions inherited from qsf::Object
virtual ~Object ()
 Destructor. More...
 
const camp::Class & getCampClass () const
 Return the CAMP class. More...
 
int getPropertyIndexById (const StringHash &propertyId) const
 Return the CAMP property index by using the unique class property ID. More...
 
uint32 getPropertyIdByIndex (int index) const
 Return the unique class property ID with the given index. More...
 
std::string getPropertyNameById (const StringHash &propertyId) const
 Return the CAMP property name by using the unique class property ID. More...
 
const camp::Property * getCampPropertyById (const StringHash &propertyId) const
 Return the CAMP property by using the unique class property ID. More...
 
void setPropertyValuesByString (const std::string &values)
 Set CAMP reflection property values by using a given string. More...
 
void setPropertiesToDefaultValues ()
 Set all CAMP reflection system properties to their default values. More...
 
void serializeToBoostPTree (boost::property_tree::ptree &pTree, SerializationMethod serializationMethod=SERIALIZE_DIFFERENTIAL) const
 
void serializeToBoostPTree (boost::property_tree::ptree &pTree, const camp::Class &campClass, SerializationMethod serializationMethod=SERIALIZE_DIFFERENTIAL) const
 
bool deserializeFromBoostPTree (const boost::property_tree::ptree &pTree, SerializationMethod serializationMethod=SERIALIZE_DIFFERENTIAL)
 
bool deserializeFromBoostPTree (const boost::property_tree::ptree &pTree, const camp::Class &campClass, SerializationMethod serializationMethod=SERIALIZE_DIFFERENTIAL)
 
void serializeToBinarySerializer (BinarySerializer &serializer, SerializationMode mode=MODE_MINIMAL, SerializationMethod serializationMethod=SERIALIZE_DIFFERENTIAL) const
 
void deserializeFromBinarySerializer (BinarySerializer &serializer, SerializationMode mode=MODE_MINIMAL, SerializationMethod serializationMethod=SERIALIZE_DIFFERENTIAL, bool setOverrideState=true)
 
virtual camp::Value getPropertyDefaultValue (const StringHash &propertyId) const
 
virtual PropertyOverrideState getPropertyOverrideState (const StringHash &propertyId) const
 
virtual bool setPropertyOverrideState (const StringHash &propertyId, PropertyOverrideState overrideState)
 
virtual void onPreDeserialize ()
 Called right before the object is deserialized using any of the above methods. Default implementation is empty. More...
 
virtual void onPostDeserialize ()
 Called right after the object was deserialized using any of the above methods. Default implementation is empty. More...
 
virtual ScriptgetAssociatedScript () const
 Return the script instance associated with this object instance. More...
 

Public Attributes

float bezierControlPointIncomingValue
 See the class documentation for info about control point values. More...
 
float bezierControlPointIncomingTime
 See the class documentation for info about control point times. More...
 
float value
 
float bezierControlPointOutgoingValue
 See the class documentation for info about control point values. More...
 
float bezierControlPointOutgoingTime
 See the class documentation for info about control point times. More...
 
float bezierSplitTangents
 

Additional Inherited Members

- Public Types inherited from qsf::Object
enum  PropertyOverrideState { PROPERTY_INVALID, PROPERTY_DEFAULT, PROPERTY_OVERRIDE, PROPERTY_REMOVED }
 
enum  SerializationMethod { SERIALIZE_FLAT, SERIALIZE_COMPLETE, SERIALIZE_DIFFERENTIAL, SERIALIZE_IGNORE_UNKNOWN }
 
enum  SerializationMode { MODE_MINIMAL, MODE_COMPATIBLE }
 
- Static Public Member Functions inherited from qsf::logic::SequenceTrackKey
static bool compareKeyTimes (const SequenceTrackKey *a, const SequenceTrackKey *b)
 
static bool compareKeyWithTime (const SequenceTrackKey *a, const uint32 &b)
 
static bool compareTimeWithKey (const uint32 &a, const SequenceTrackKey *b)
 
- Protected Member Functions inherited from qsf::Object
 Object ()
 Default constructor. More...
 

Detailed Description

Todo:
-TODO(oi) Put key micro-classes into it own files??

Definition at line 37 of file SequenceTrackEntityComponentPropertyVec2TimeOfDay.h.

Constructor & Destructor Documentation

qsf::logic::SequenceTrackKeyEntityComponentPropertyVec2TimeOfDay::SequenceTrackKeyEntityComponentPropertyVec2TimeOfDay ( uint32  frameNumber)
inlineexplicit

Member Function Documentation

glm::vec2 qsf::logic::SequenceTrackKeyEntityComponentPropertyVec2TimeOfDay::getValue ( ) const
inline
void qsf::logic::SequenceTrackKeyEntityComponentPropertyVec2TimeOfDay::setValue ( const glm::vec2 &  time)
inline

Member Data Documentation

float qsf::logic::SequenceTrackKeyEntityComponentPropertyVec2TimeOfDay::bezierControlPointIncomingTime

See the class documentation for info about control point times.

Definition at line 46 of file SequenceTrackEntityComponentPropertyVec2TimeOfDay.h.

float qsf::logic::SequenceTrackKeyEntityComponentPropertyVec2TimeOfDay::bezierControlPointIncomingValue

See the class documentation for info about control point values.

Definition at line 45 of file SequenceTrackEntityComponentPropertyVec2TimeOfDay.h.

float qsf::logic::SequenceTrackKeyEntityComponentPropertyVec2TimeOfDay::bezierControlPointOutgoingTime

See the class documentation for info about control point times.

Definition at line 49 of file SequenceTrackEntityComponentPropertyVec2TimeOfDay.h.

float qsf::logic::SequenceTrackKeyEntityComponentPropertyVec2TimeOfDay::bezierControlPointOutgoingValue

See the class documentation for info about control point values.

Definition at line 48 of file SequenceTrackEntityComponentPropertyVec2TimeOfDay.h.

float qsf::logic::SequenceTrackKeyEntityComponentPropertyVec2TimeOfDay::bezierSplitTangents
float qsf::logic::SequenceTrackKeyEntityComponentPropertyVec2TimeOfDay::value

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