Houdini Engine 2.0
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
HAPI_MaterialInfo Struct Reference

#include <HAPI_Common.h>

Public Attributes

HAPI_MaterialId id
HAPI_AssetId assetId
HAPI_NodeId nodeId
HAPI_Bool exists
HAPI_Bool hasChanged

Detailed Description

Definition at line 1264 of file HAPI_Common.h.

Member Data Documentation

HAPI_AssetId HAPI_MaterialInfo::assetId

Definition at line 1267 of file HAPI_Common.h.

HAPI_Bool HAPI_MaterialInfo::exists

Definition at line 1277 of file HAPI_Common.h.

HAPI_Bool HAPI_MaterialInfo::hasChanged

Definition at line 1279 of file HAPI_Common.h.

HAPI_MaterialId HAPI_MaterialInfo::id

Definition at line 1266 of file HAPI_Common.h.

HAPI_NodeId HAPI_MaterialInfo::nodeId

This is the HAPI node id for the SHOP node this material is attached to. Use it to get access to the parameters (which contain the texture paths). IMPORTANT: When the HAPI_MaterialInfo::hasChanged is true this nodeId could have changed. Do not assume HAPI_MaterialInfo::nodeId will never change for a specific material.

Definition at line 1275 of file HAPI_Common.h.

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