MutableEffectorDataStruct Struct Reference

#include <c4d_baseeffectordata.h>

Detailed Description

Data structure for mutable data which is set up in EffectorData::CalcPointValue. See obaseeffector.res and obaseeffector.h for the IDs.
To get it filled make sure that the IDs for strength etc. match those in obaseeffector.h.

Public Member Functions

 MutableEffectorDataStruct ()
 
MAXON_ATTRIBUTE_FORCE_INLINE Bool IsUsed (STRENGTHMASK mask) const
 
MAXON_ATTRIBUTE_FORCE_INLINE Bool IsUsed (Int32 channel) const
 

Public Attributes

STRENGTHMASK _strengthUsed
 
union {
   struct {
      Vector   pos
 
      Vector   scale
 
      Vector   rot
 
      Vector   col
 
      Vector   other
 
      Vector   other2
 
      Vector   other3
 
   }   _strengthValues
 
   Float   _strengths [21]
 
}; 
 

Constructor & Destructor Documentation

◆ MutableEffectorDataStruct()

Member Function Documentation

◆ IsUsed() [1/2]

◆ IsUsed() [2/2]

MAXON_ATTRIBUTE_FORCE_INLINE Bool IsUsed ( Int32  channel) const

Member Data Documentation

◆ _strengthUsed

STRENGTHMASK _strengthUsed

bit "1 << i" equals true indicates if the value in strengths[i] is used/required/calculated

◆ pos

Vector pos

Position.

◆ scale

Vector scale

Scale.

◆ rot

Vector rot

Rotation.

◆ col

Vector col

Color.

◆ other

Vector other

First other.

◆ other2

Vector other2

Second other.

◆ other3

Vector other3

Third other.

◆ 

struct { ... } _strengthValues

◆ _strengths

Float _strengths[21]

Strength value are set by the effector in EffectorData::CalcPointValue.

Amount of strengths for each value, of in order, position, scale, rotation, color (and anything else to affect).

◆ 

union { ... }