HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
GR_MaterialParms Class Reference

This is a fast, non-string access and cut-down version of UT_Options. More...

#include <GR_Material.h>

+ Inheritance diagram for GR_MaterialParms:

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)
 
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_NonCopyableoperator= (const UT_NonCopyable &)=delete
 

Detailed Description

This is a fast, non-string access and cut-down version of UT_Options.

Definition at line 283 of file GR_Material.h.

Constructor & Destructor Documentation

GR_MaterialParms::GR_MaterialParms ( )
inline

Definition at line 286 of file GR_Material.h.

Member Function Documentation

fpreal GR_MaterialParms::getParmF ( exint  ptype,
fpreal  defval = 0.0 
) const
int GR_MaterialParms::getParmI ( exint  ptype,
int  defval = 0 
) const
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
void GR_MaterialParms::setParm ( exint  ptype,
fpreal  value 
)
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 
)
void GR_MaterialParms::setParmI ( exint  ptype,
int  value 
)

The documentation for this class was generated from the following file: