#include <PRM_Default.h>
- Examples:
- CHOP/CHOP_Spring.C, CHOP/CHOP_Stair.C, COP2/COP2_FullImageFilter.C, COP2/COP2_MultiInputWipe.C, field3d/ROP_Field3D.C, OBJ/OBJ_Shake.C, ROP/ROP_Dumper.C, SHOP/SHOP_Multi.C, SIM/GAS_NetVDBSliceExchange.C, SIM/SIM_RadialEmit.C, SOP/SOP_ArrayAttrib.C, SOP/SOP_BouncyAgent.C, SOP/SOP_CopRaster.C, SOP/SOP_CustomBrush.C, SOP/SOP_DetailAttrib.C, SOP/SOP_DualStar.C, SOP/SOP_IKSample.C, SOP/SOP_PrimVOP.C, SOP/SOP_SParticle.C, SOP/SOP_TimeCompare.C, and VOP/VOP_CustomContext.C.
Definition at line 41 of file PRM_Default.h.
PRM_Default has two parts: a float and a string. For floating point parameters, if the default string is defined, then the parameter will start off being animated and have the channel expression defined by the string. Otherwise, the floating point default is used for float and integer types, while the string is used to initialize string types.
fpreal PRM_Default::getFloat |
( |
| ) |
const |
|
inline |
int64 PRM_Default::getMemoryUsage |
( |
bool |
inclusive | ) |
const |
|
inline |
NOTE: Based on the lack of destructor, PRM_Default does NOT own *myString, but ownership semantics are bonkers in these mysterious lands of PRM.
Definition at line 72 of file PRM_Default.h.
int PRM_Default::getOrdinal |
( |
| ) |
const |
|
inline |
const char* PRM_Default::getString |
( |
| ) |
const |
|
inline |
bool PRM_Default::gotString |
( |
| ) |
const |
|
inline |
void PRM_Default::setOrdinal |
( |
int |
v | ) |
|
|
inline |
void PRM_Default::setString |
( |
const char * |
v, |
|
|
bool |
free_existing = false |
|
) |
| |
The documentation for this class was generated from the following file: