HDK
|
This is a fast, non-string access and cut-down version of UT_Options. More...
#include <GR_Material.h>
Public Member Functions | |
GR_MaterialParms () | |
void | setParmI (exint ptype, int value) |
void | setParm (exint ptype, fpreal value) |
void | setParm (exint ptype, const UT_Vector2 &value) |
void | setParm (exint ptype, const UT_Vector3 &value) |
void | setParm (exint ptype, const UT_Vector4 &value) |
void | setParm (exint ptype, const UT_Matrix4 &value) |
void | setParm (exint ptype, const UT_StringHolder &value) |
bool | hasParm (exint ptype) const |
int | getParmI (exint ptype, int defval=0) const |
fpreal | getParmF (exint ptype, fpreal defval=0.0) const |
UT_Vector2 | getParmV2 (exint ptype, UT_Vector2 defval={0, 0}) const |
UT_Vector3 | getParmV3 (exint ptype, UT_Vector3 defval={0, 0, 0}) const |
UT_Vector4 | getParmV4 (exint ptype, UT_Vector4 defval={0, 0, 0, 0}) const |
UT_Matrix4 | getParmM4 (exint ptype, UT_Matrix4 defval=UT_Matrix4::getIdentityMatrix()) const |
UT_StringHolder | getParmS (exint ptype, UT_StringHolder=UT_StringHolder()) const |
Additional Inherited Members | |
Protected Member Functions inherited from UT_NonCopyableNS::UT_NonCopyable | |
UT_NonCopyable ()=default | |
~UT_NonCopyable ()=default | |
UT_NonCopyable (const UT_NonCopyable &)=delete | |
UT_NonCopyable & | operator= (const UT_NonCopyable &)=delete |
This is a fast, non-string access and cut-down version of UT_Options.
Definition at line 323 of file GR_Material.h.
|
inline |
Definition at line 326 of file GR_Material.h.
UT_Matrix4 GR_MaterialParms::getParmM4 | ( | exint | ptype, |
UT_Matrix4 | defval = UT_Matrix4::getIdentityMatrix() |
||
) | const |
UT_StringHolder GR_MaterialParms::getParmS | ( | exint | ptype, |
UT_StringHolder | = UT_StringHolder() |
||
) | const |
UT_Vector2 GR_MaterialParms::getParmV2 | ( | exint | ptype, |
UT_Vector2 | defval = {0, 0} |
||
) | const |
UT_Vector3 GR_MaterialParms::getParmV3 | ( | exint | ptype, |
UT_Vector3 | defval = {0, 0, 0} |
||
) | const |
UT_Vector4 GR_MaterialParms::getParmV4 | ( | exint | ptype, |
UT_Vector4 | defval = {0, 0, 0, 0} |
||
) | const |
bool GR_MaterialParms::hasParm | ( | exint | ptype | ) | const |
void GR_MaterialParms::setParm | ( | exint | ptype, |
const UT_Vector2 & | value | ||
) |
void GR_MaterialParms::setParm | ( | exint | ptype, |
const UT_Vector3 & | value | ||
) |
void GR_MaterialParms::setParm | ( | exint | ptype, |
const UT_Vector4 & | value | ||
) |
void GR_MaterialParms::setParm | ( | exint | ptype, |
const UT_Matrix4 & | value | ||
) |
void GR_MaterialParms::setParm | ( | exint | ptype, |
const UT_StringHolder & | value | ||
) |