3ds Max C++ API Reference
ParticleChannelMask.h File Reference

An interface for ParticleChannelMask. More...

#include "PFExport.h"
#include <WTypes.h>
#include "../MaxHeap.h"

Classes

class  ParticleChannelMask
 

Enumerations

enum  PCU_genericChannelIndex {
  PCG_float = 1<<0 , PCG_int = 1<<1 , PCG_Point3 = 1<<3 , PCG_bool = 1<<4 ,
  PCG_PTV = 1<<7 , PCG_INode = 1<<9 , PCG_Matrix3 = 1<<10 , PCG_void = 1<<11 ,
  PCG_AngAxis = 1<<13 , PCG_Quat = 1<<14 , PCG_Mesh = 1<<17 , PCG_TabUVVert = 1<<20 ,
  PCG_TabTVFace = 1<<21 , PCG_Map = 1<<22 , PCG_MeshMap = 1<<23
}
 
enum  PCU_channelIndex {
  PCU_Undefined = 0 , PCU_Amount = 1<<0 , PCU_New = 1<<1 , PCU_ID = 1<<2 ,
  PCU_Time = 1<<3 , PCU_BirthTime = 1<<4 , PCU_EventStart = 1<<5 , PCU_Position = 1<<6 ,
  PCU_Speed = 1<<7 , PCU_Acceleration = 1<<8 , PCU_Orientation = 1<<9 , PCU_Spin = 1<<10 ,
  PCU_Scale = 1<<11 , PCU_Shape = 1<<12 , PCU_ShapeTexture = 1<<16 , PCU_MtlIndex = 1<<18 ,
  PCU_Selection = 1<<19 , PCU_MXSInteger = 1<<20 , PCU_MXSFloat = 1<<21 , PCU_MXSVector = 1<<22 ,
  PCU_MXSMatrix = 1<<23 , PCU_DeathTime = 1<<24 , PCU_Lifespan = 1<<25
}
 

Detailed Description

An interface for ParticleChannelMask.

The interface is used by Operators/Elements to define what channels are read/write. The class is implemented by system.

Enumeration Type Documentation

◆ PCU_genericChannelIndex

Enumerator
PCG_float 
PCG_int 
PCG_Point3 
PCG_bool 
PCG_PTV 
PCG_INode 
PCG_Matrix3 
PCG_void 
PCG_AngAxis 
PCG_Quat 
PCG_Mesh 
PCG_TabUVVert 
PCG_TabTVFace 
PCG_Map 
PCG_MeshMap 
25  {
26  PCG_float= 1<<0,
27  PCG_int= 1<<1,
28 // PCG_RGBA= 1<<2,
29  PCG_Point3= 1<<3,
30  PCG_bool= 1<<4,
31 // PCG_String= 1<<5,
32 // PCG_TimeValue= 1<<6,
33  PCG_PTV= 1<<7, // Precise Time Value
34 // PCG_TexMap= 1<<8,
35  PCG_INode= 1<<9,
36  PCG_Matrix3= 1<<10,
37  PCG_void= 1<<11,
38 // PCG_Interval= 1<<12,
39  PCG_AngAxis= 1<<13,
40  PCG_Quat= 1<<14,
41 // PCG_Point2= 1<<15,
42 // PCG_BitArray= 1<<16,
43  PCG_Mesh= 1<<17,
44 // PCG_TabPoint3= 1<<18,
45 // PCG_TabFace= 1<<19
46  PCG_TabUVVert= 1<<20,
47  PCG_TabTVFace= 1<<21,
48  PCG_Map= 1<<22,
49  PCG_MeshMap= 1<<23
50 };
@ PCG_int
Definition: ParticleChannelMask.h:27
@ PCG_float
Definition: ParticleChannelMask.h:26
@ PCG_AngAxis
Definition: ParticleChannelMask.h:39
@ PCG_Quat
Definition: ParticleChannelMask.h:40
@ PCG_Mesh
Definition: ParticleChannelMask.h:43
@ PCG_Map
Definition: ParticleChannelMask.h:48
@ PCG_void
Definition: ParticleChannelMask.h:37
@ PCG_PTV
Definition: ParticleChannelMask.h:33
@ PCG_Matrix3
Definition: ParticleChannelMask.h:36
@ PCG_INode
Definition: ParticleChannelMask.h:35
@ PCG_bool
Definition: ParticleChannelMask.h:30
@ PCG_TabTVFace
Definition: ParticleChannelMask.h:47
@ PCG_Point3
Definition: ParticleChannelMask.h:29
@ PCG_MeshMap
Definition: ParticleChannelMask.h:49
@ PCG_TabUVVert
Definition: ParticleChannelMask.h:46

◆ PCU_channelIndex

Enumerator
PCU_Undefined 
PCU_Amount 
PCU_New 
PCU_ID 
PCU_Time 
PCU_BirthTime 
PCU_EventStart 
PCU_Position 
PCU_Speed 
PCU_Acceleration 
PCU_Orientation 
PCU_Spin 
PCU_Scale 
PCU_Shape 
PCU_ShapeTexture 
PCU_MtlIndex 
PCU_Selection 
PCU_MXSInteger 
PCU_MXSFloat 
PCU_MXSVector 
PCU_MXSMatrix 
PCU_DeathTime 
PCU_Lifespan 
56  {
57  PCU_Undefined= 0,
58  PCU_Amount= 1<<0, // fictional channel to indicate that Operator changes number of particles
59  PCU_New= 1<<1, // channel to trace newly born/entered particles
60  PCU_ID= 1<<2, // channel to keep particleID=(index,born)
61  PCU_Time= 1<<3, // current valid time for a particle (PCG_PTV)
62  PCU_BirthTime= 1<<4, // time when particle was born (PCG_PTV)
63  PCU_EventStart= 1<<5, // time when particle entered the current event (PCG_PTV)
64  PCU_Position= 1<<6, // particle position (PCG_Point3)
65  PCU_Speed= 1<<7, // particle speed (PCG_Point3)
66  PCU_Acceleration= 1<<8, // particle acceleration (PCG_Point3)
67  PCU_Orientation= 1<<9, // 3D orientation of a particle (PCG_Quad)
68  PCU_Spin= 1<<10, // angular velocity of a particle (PCG_AngAxis)
69  PCU_Scale= 1<<11, // scaling factor for particle (Point3: x, y, z axes)
70  PCU_Shape= 1<<12, // shape as a whole mesh (PCG_Mesh)
71 // PCU_ShapeTopology= 1<<13, // topology data (Tab<Face>)
72 // PCU_ShapeGeometry= 1<<14, // geometry data (Tab<Point3>)
73 // PCU_ShapeNormals= 1<<15, // normals data
74  PCU_ShapeTexture= 1<<16, // texture coordinate data
75 // PCU_Mass= 1<<17, // particle mass
76  PCU_MtlIndex= 1<<18, // material index for particles
77  PCU_Selection= 1<<19, // selection status
78  PCU_MXSInteger= 1<<20, // maxscript integer value
79  PCU_MXSFloat= 1<<21, // maxscript float value
80  PCU_MXSVector= 1<<22, // maxscript Point3 value
81  PCU_MXSMatrix= 1<<23, // maxscript Matrix3 value
82  PCU_DeathTime= 1<<24, // time when particle is expected to die (PCG_PTV)
83  PCU_Lifespan= 1<<25 // lifespan of a particle
84 };
@ PCU_MXSInteger
Definition: ParticleChannelMask.h:78
@ PCU_DeathTime
Definition: ParticleChannelMask.h:82
@ PCU_MXSMatrix
Definition: ParticleChannelMask.h:81
@ PCU_ShapeTexture
Definition: ParticleChannelMask.h:74
@ PCU_EventStart
Definition: ParticleChannelMask.h:63
@ PCU_ID
Definition: ParticleChannelMask.h:60
@ PCU_Spin
Definition: ParticleChannelMask.h:68
@ PCU_MXSVector
Definition: ParticleChannelMask.h:80
@ PCU_Selection
Definition: ParticleChannelMask.h:77
@ PCU_Scale
Definition: ParticleChannelMask.h:69
@ PCU_MtlIndex
Definition: ParticleChannelMask.h:76
@ PCU_New
Definition: ParticleChannelMask.h:59
@ PCU_Amount
Definition: ParticleChannelMask.h:58
@ PCU_Speed
Definition: ParticleChannelMask.h:65
@ PCU_Position
Definition: ParticleChannelMask.h:64
@ PCU_Shape
Definition: ParticleChannelMask.h:70
@ PCU_Undefined
Definition: ParticleChannelMask.h:57
@ PCU_Lifespan
Definition: ParticleChannelMask.h:83
@ PCU_MXSFloat
Definition: ParticleChannelMask.h:79
@ PCU_Acceleration
Definition: ParticleChannelMask.h:66
@ PCU_Orientation
Definition: ParticleChannelMask.h:67
@ PCU_Time
Definition: ParticleChannelMask.h:61
@ PCU_BirthTime
Definition: ParticleChannelMask.h:62