![]() |
|
Describes optional alternative imaging behavior for prims. More...
#include <sceneDelegate.h>
Public Member Functions | |
| HdModelDrawMode (TfToken const &drawMode_, bool applyDrawMode_=false, GfVec3f drawModeColor_=GfVec3f(0.18), TfToken const &cardGeometry_=HdModelDrawModeTokens->cross, SdfAssetPath cardTextureXPos_=SdfAssetPath(), SdfAssetPath cardTextureYPos_=SdfAssetPath(), SdfAssetPath cardTextureZPos_=SdfAssetPath(), SdfAssetPath cardTextureXNeg_=SdfAssetPath(), SdfAssetPath cardTextureYNeg_=SdfAssetPath(), SdfAssetPath cardTextureZNeg_=SdfAssetPath()) | |
| DrawModeColor is specified in the rendering color space. | |
| bool | operator== (HdModelDrawMode const &rhs) const |
| bool | operator!= (HdModelDrawMode const &rhs) const |
Describes optional alternative imaging behavior for prims.
Some scene delegates, like the UsdImagingDelegate, will pre-flatten this data, but other scene delegates may wish to use this to pipe the data through to a draw mode resolving scene index (see UsdImagingDrawModeSceneIndex as an example of such a scene index).
There is currently no plan to add emulation support for this information, such as via HdLegacyPrimSceneIndex or HdSceneIndexAdapterSceneDelegate.
Definition at line 218 of file sceneDelegate.h.
|
inline |
Definition at line 237 of file sceneDelegate.h.
|
inline |
DrawModeColor is specified in the rendering color space.
Definition at line 245 of file sceneDelegate.h.
|
inline |
Definition at line 275 of file sceneDelegate.h.
|
inline |
Definition at line 263 of file sceneDelegate.h.
| bool applyDrawMode |
Definition at line 223 of file sceneDelegate.h.
| TfToken cardGeometry |
Definition at line 228 of file sceneDelegate.h.
| SdfAssetPath cardTextureXNeg |
Definition at line 233 of file sceneDelegate.h.
| SdfAssetPath cardTextureXPos |
Definition at line 230 of file sceneDelegate.h.
| SdfAssetPath cardTextureYNeg |
Definition at line 234 of file sceneDelegate.h.
| SdfAssetPath cardTextureYPos |
Definition at line 231 of file sceneDelegate.h.
| SdfAssetPath cardTextureZNeg |
Definition at line 235 of file sceneDelegate.h.
| SdfAssetPath cardTextureZPos |
Definition at line 232 of file sceneDelegate.h.
| TfToken drawMode |
Definition at line 221 of file sceneDelegate.h.
| GfVec3f drawModeColor |
Definition at line 225 of file sceneDelegate.h.