#include <c4d_lightobjectdata.h>
Public Types | |
typedef NodeData | SUPER |
Public Types inherited from NodeData | |
typedef PrivateChunk | SUPER |
Public Attributes | |
IESLightData | ieslightdata |
Protected Attributes | |
Float | outerradius |
Int32 | falloff |
Float | outerdist |
Private Member Functions | |
virtual Bool | GetDParameter (const DescID &id, GeData &data) |
virtual Bool | SetDParameter (const DescID &id, const GeData &data) |
virtual Bool | CopyToX (PrivateChunk *dst, COPYFLAGS flags, AliasTrans *trans) |
Int32 | GetChunkLevel () |
Friends | |
Bool | SetIESLight (BaseObject *op, IESLight *data, BaseDocument *doc) |
Constructor/Destructor | |
LightObjectData () | |
~LightObjectData () | |
Read/Write | |
virtual Bool | Read (HyperFile *hf, Int32 id, Int32 level) |
virtual Bool | Write (HyperFile *hf) |
Additional Inherited Members | |
Protected Member Functions inherited from NodeData | |
virtual Bool | Init () |
virtual void | Free () |
virtual Bool | Execute () |
virtual Int32 | GetDiskType () const |
virtual Bool | TranslateDescID (GeListNode *node, const DescID &id, DescID &res_id, GeListNode *&res_at) |
Protected Member Functions inherited from PrivateChunk | |
virtual Bool | HandleSubChunk (HyperFile *hf, Int32 id, Int32 level) |
Node data class for Cinema 4D's Light object.
LightObjectData | ( | ) |
Default constructor.
~LightObjectData | ( | ) |
Destructor.
|
virtual |
Reimplemented from NodeData.
Reimplemented from PrivateChunk.
Reimplemented from PrivateChunk.
|
privatevirtual |
Private.
Reimplemented from NodeData.
|
privatevirtual |
Reimplemented from PrivateChunk.
Reads the light object data from a hyper file.
[in] | hf | The hyper file to read from. The caller owns the pointed hyper file. |
[in] | id | The type ID of the light object to read. |
[in] | level | The disklevel of the object to read. |
Reimplemented from NodeData.
Writes the light object data to a hyper file.
[in] | hf | The hyper file to write to. The caller owns the pointed hyper file. |
Reimplemented from PrivateChunk.
|
friend |
Sets IES data for a light object.
[in] | op | The light object. The caller owns the pointed light object. |
[in] | data | The IES data to set. The caller owns the pointed light data. |
[in] | doc | The document of the light object. The caller owns the pointed document. |
|
protected |
|
protected |
|
protected |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
IESLightData ieslightdata |
Pointer to the IES light data wrapper.