#include <ps_attrib_maker.h>
Definition at line 42 of file ps_attrib_maker.h.
Public Types | |
enum | TInputType { attrDate = 0, attrPosition = 1, attrInverseMass = 2, attrSpeed = 3, attrUniformRandom = 4, attrUserParam = 5, attrLOD = 6, attrSquareLOD = 7, attrClampedLOD = 8, attrClampedSquareLOD = 9 } |
input types More... | |
Public Member Functions | |
CPSInputType () | |
ctor | |
void | serial (NLMISC::IStream &f) throw (NLMISC::EStream) |
Data Fields | |
enum NL3D::CPSInputType::TInputType | InputType |
input types |
|
input types
Definition at line 50 of file ps_attrib_maker.h.
00051 { 00052 attrDate = 0, 00053 attrPosition = 1, 00054 attrInverseMass = 2, 00055 attrSpeed = 3, 00056 attrUniformRandom = 4, 00057 attrUserParam = 5, // a parameter user that was set in the system 00058 attrLOD = 6, 00059 attrSquareLOD = 7, 00060 attrClampedLOD = 8, 00061 attrClampedSquareLOD = 9, 00062 } InputType ; |
|
ctor
Definition at line 45 of file ps_attrib_maker.h. References attrDate, and InputType.
00045 : InputType(attrDate) 00046 { 00047 } |
|
Definition at line 70 of file ps_attrib_maker.h. References attrUserParam, InputType, and UserParamNum. Referenced by NL3D::CPSAttribMakerT< uint32, CPSValueBlendFunc< uint32 > >::serial().
00071 { 00072 f.serialEnum(InputType) ; 00073 switch(InputType) 00074 { 00075 case attrUserParam: 00076 f.serial(UserParamNum) ; 00077 break ; 00078 default: break; 00079 } 00080 } |
|
|
The user param being used. Valid only when InputType has been set to attrUserParam.
Definition at line 67 of file ps_attrib_maker.h. Referenced by NL3D::CPSAttribMakerT< T, F >::get(), NL3D::CPSAttribMakerT< uint32, CPSValueBlendFunc< uint32 > >::make(), NL3D::CPSAttribMakerT< uint32, CPSValueBlendFunc< uint32 > >::make4(), NL3D::CPSAttribMakerT< uint32, CPSValueBlendFunc< uint32 > >::makeN(), and serial(). |