Keyframes Layers trueSKY Actor

Select your engine:

struct BaseKeyframe

Include: Sky/BaseKeyframer.h

The base keyframe structure, containing time, the time that the keyframe represents.

Functions

simul::sky::float4 GetColour(char)
float GetFloat(char name)
int GetInt(char)
bool HasFloat(char name)
bool HasInt(char name)
void Load(simul::sky::Input is, simul::base::MemoryInterface memoryInterface)
void LoadFromText(simul::crossplatform::TextInput input)
void Save(simul::sky::Output os)
void SaveToText(simul::crossplatform::TextOutput os)
void SetColour(char, simul::sky::float4)
void SetFloat(char name, float val)
void SetInt(char, int)

The base keyframe structure, containing time, the time that the keyframe represents.

Functions

simul::sky::float4 GetColour(char)

Return the colour value with the given, case-insensitive, name.

float GetFloat(char name)

Return the float value with the given, case-insensitive, name.

int GetInt(char)

Return the integer value with the given, case-insensitive, name.

bool HasFloat(char name)

Return true if the keyframe has a float value with the given, case-insensitive, name; return false otherwise.

bool HasInt(char name)

Return true if the keyframe has an int value with the given, case-insensitive, name; return false otherwise.

void Load(simul::sky::Input is, simul::base::MemoryInterface memoryInterface)

Load this keyframe’s values from the stream.

void LoadFromText(simul::crossplatform::TextInput input)

Load from a textual input.

void Save(simul::sky::Output os)

Save this keyframe’s values to the stream.

void SaveToText(simul::crossplatform::TextOutput os)

Save this keyframe’s values to textual output.

void SetColour(char, simul::sky::float4)

Set the colour value with the given, case-insensitive, name.

void SetFloat(char name, float val)

Set the float value with the given, case-insensitive, name.

void SetInt(char, int)

Set the integer value with the given, case-insensitive, name.

Fields

time The time this keyframe is for.

unique_id A unique id. This is now persistent across Save/Load.