RayObjectInstanceData Struct Reference

#include <c4d_raytrace.h>

Public Attributes

Int32   instance_of_index
Matrix64   transform
Matrix64   transform_inverse
Matrix64   transform_tensor
BaseObject link
Matrix64   _matrix
Int32   _instanceID
maxon::Bool   _useColor
maxon::Color64   _color

Member Data Documentation

◆  instance_of_index

Int32 instance_of_index

Index to the instanced ray object.

◆  transform

Matrix64 transform

Transformation matrix of the instance.
Transformation from original object's point to instanced object: new_point = old_point * instanced_rayobject->instance->transform

◆  transform_inverse

Matrix64 transform_inverse

Inverse transformation matrix of the instance.
Transformation from instanced object's point to original object: new_point = old_point * instanced_rayobject->instance->transform_inverse

◆  transform_tensor

Matrix64 transform_tensor

Transformation matrix tensor of the instance.
Transformation of normal from original object to instanced object: new_normal = !(old_normal^instanced_rayobject->instance->transform_tensor)

◆  link

BaseObject * link

Link to the virtual instance parent (the "Instance" object).

◆  _matrix

Matrix64 _matrix

Matrix of the instance.

由于
R19

◆  _instanceID

Int32 _instanceID

ID of the given instance. Used for Multi-Instance for now.

由于
R20

◆  _useColor

maxon::Bool _useColor

request use of color.

由于
R20

◆  _color

maxon::Color64 _color

desired color for the instance.

由于
R20