Murl::Resource::IAnimation::Iff::SingleKeysChunk Struct Reference

An IFF chunk of a native animation storing "single" (non-indexed) key types. More...

#include "murl_resource_i_animation.h"

Inheritance diagram for Murl::Resource::IAnimation::Iff::SingleKeysChunk:

Public Types

enum  {
  FOURCC_VISIBLE, FOURCC_ACTIVE, FOURCC_INDEX, FOURCC_DEPTH_ORDER,
  FOURCC_ALPHA, FOURCC_VOLUME, FOURCC_TIME, FOURCC_AMBIENT,
  FOURCC_DIFFUSE, FOURCC_SPECULAR, FOURCC_EMISSIVE, FOURCC_POSITION,
  FOURCC_SCALING, FOURCC_AXIS_ANGLE, FOURCC_QUATERNION, FOURCC_EULER_ANGLE
}
 IFF identifiers. More...
 

Public Attributes

UInt32 mNumberOfKeys
 The number of keys in this chunk.
 
UInt32 mKeysOffset
 An offset into the chunk where the key frame data is stored. See IffOffset().
 

Additional Inherited Members

- Public Member Functions inherited from Murl::Util::IffChunk
template<class DataType >
DataType * IffOffset (UInt32 byteOffset) const
 Get a typed pointer from an offset relative to the chunk. More...
 
void SetFourCC (UInt32 fourCC)
 Set the chunk identifier. More...
 
UInt32 GetFourCC () const
 Get the chunk identifier. More...
 
void SetChunkSize (UInt32 size)
 Set the chunk size. More...
 
UInt32 GetChunkSize () const
 Get the chunk size. More...
 
UInt32 GetRawSize () const
 Get the chunk size minus sizeof(IffChunk). More...
 
- Protected Attributes inherited from Murl::Util::IffChunk
UInt32 mFourCC
 The FourCC chunk identifier. More...
 
UInt32 mSize
 The size of this chunk minus sizeof(IffChunk). More...
 

Detailed Description

An IFF chunk of a native animation storing "single" (non-indexed) key types.

The data pointed to by the mKeysOffset member must be interpreted as an array of structs of the type defined for the respective FourCC chunk identifier, e.g. a chunk of type FOURCC_DIFFUSE contains a data block consisting of mNumberOfKeys consecutive Raw::ColorKey structures, with the data size in bytes equalling mNumberOfKeys*sizeof(Raw::ColorKey).

There can only be one chunk of a specific type for a single clip, hence the name SingleKeysChunk, e.g. it is not possible to have more than one key chunk of type FOURCC_POSITION per clip.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum

IFF identifiers.

Enumerator
FOURCC_VISIBLE 

BoolKey chunk controlling a node's "visible" property.

FOURCC_ACTIVE 

BoolKey chunk controlling a node's "active" property.

FOURCC_INDEX 

IntegerKey chunk representing an index.

FOURCC_DEPTH_ORDER 

IntegerKey chunk representing a depth order.

FOURCC_ALPHA 

FloatKey chunk representing an alpha value.

FOURCC_VOLUME 

FloatKey chunk representing an audio volume.

FOURCC_TIME 

FloatKey chunk representing a time value.

FOURCC_AMBIENT 

ColorKey chunk representing an ambient color.

FOURCC_DIFFUSE 

ColorKey chunk representing a diffuse color.

FOURCC_SPECULAR 

ColorKey chunk representing a specular color.

FOURCC_EMISSIVE 

ColorKey chunk representing an emissive color.

FOURCC_POSITION 

PositionKey chunk.

FOURCC_SCALING 

ScalingKey chunk.

FOURCC_AXIS_ANGLE 

AxisAngleKey chunk rotation represented in axis/angle format.

FOURCC_QUATERNION 

QuaternionKey chunk rotation represented as a quaternion.

FOURCC_EULER_ANGLE 

EulerAngleKey chunk representing euler X/Y/Z angle.


The documentation for this struct was generated from the following file:
  • murl_resource_i_animation.h


Copyright © 2011-2018 Spraylight GmbH.