Houdini Engine 3.0
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
HAPI_AssetInfo Struct Reference

#include <HAPI_Common.h>

Public Attributes

HAPI_NodeId nodeId
 
HAPI_NodeId objectNodeId
 
HAPI_Bool hasEverCooked
 
HAPI_StringHandle nameSH
 Instance name (the label + a number). More...
 
HAPI_StringHandle labelSH
 This is what any end user should be shown. More...
 
HAPI_StringHandle filePathSH
 Path to the .otl library file. More...
 
HAPI_StringHandle versionSH
 User-defined asset version. More...
 
HAPI_StringHandle fullOpNameSH
 Full asset name and namespace. More...
 
HAPI_StringHandle helpTextSH
 Asset help marked-up text. More...
 
int objectCount
 See Objects. More...
 
int handleCount
 See Handles. More...
 
int transformInputCount
 
int geoInputCount
 
HAPI_Bool haveObjectsChanged
 
HAPI_Bool haveMaterialsChanged
 

Detailed Description

Definition at line 741 of file HAPI_Common.h.

Member Data Documentation

HAPI_StringHandle HAPI_AssetInfo::filePathSH

Path to the .otl library file.

Definition at line 762 of file HAPI_Common.h.

HAPI_StringHandle HAPI_AssetInfo::fullOpNameSH

Full asset name and namespace.

Definition at line 764 of file HAPI_Common.h.

int HAPI_AssetInfo::geoInputCount

Geometry inputs exposed by the asset. For SOP assets this is the number of geometry inputs on the SOP node itself. OBJ assets will always have zero geometry inputs. See Asset Inputs.

Definition at line 780 of file HAPI_Common.h.

int HAPI_AssetInfo::handleCount

See Handles.

Definition at line 768 of file HAPI_Common.h.

HAPI_Bool HAPI_AssetInfo::hasEverCooked

It's possible to instantiate an asset without cooking it. See Cooking.

Definition at line 758 of file HAPI_Common.h.

HAPI_Bool HAPI_AssetInfo::haveMaterialsChanged

For incremental updates. Indicates whether any of the asset's materials have changed. Refreshed only during an asset cook.

Definition at line 788 of file HAPI_Common.h.

HAPI_Bool HAPI_AssetInfo::haveObjectsChanged

For incremental updates. Indicates whether any of the assets's objects have changed. Refreshed only during an asset cook.

Definition at line 784 of file HAPI_Common.h.

HAPI_StringHandle HAPI_AssetInfo::helpTextSH

Asset help marked-up text.

Definition at line 765 of file HAPI_Common.h.

HAPI_StringHandle HAPI_AssetInfo::labelSH

This is what any end user should be shown.

Definition at line 761 of file HAPI_Common.h.

HAPI_StringHandle HAPI_AssetInfo::nameSH

Instance name (the label + a number).

Definition at line 760 of file HAPI_Common.h.

HAPI_NodeId HAPI_AssetInfo::nodeId

Use the node id to get the asset's parameters. See Nodes Basics.

Definition at line 745 of file HAPI_Common.h.

int HAPI_AssetInfo::objectCount

See Objects.

Definition at line 767 of file HAPI_Common.h.

HAPI_NodeId HAPI_AssetInfo::objectNodeId

The objectNodeId differs from the regular nodeId in that for geometry based assets (SOPs) it will be the node id of the dummy object (OBJ) node instead of the asset node. For object based assets the objectNodeId will equal the nodeId. The reason the distinction exists is because transforms are always stored on the object node but the asset parameters may not be on the asset node if the asset is a geometry asset so we need both.

Definition at line 754 of file HAPI_Common.h.

int HAPI_AssetInfo::transformInputCount

Transform inputs exposed by the asset. For OBJ assets this is the number of transform inputs on the OBJ node. For SOP assets, this is the singular transform input on the dummy wrapper OBJ node. See Asset Inputs.

Definition at line 774 of file HAPI_Common.h.

HAPI_StringHandle HAPI_AssetInfo::versionSH

User-defined asset version.

Definition at line 763 of file HAPI_Common.h.


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