A3DMiscCascadedAttributesData
-
struct
A3DMiscCascadedAttributesData Describes inheritable properties of a model file node (
A3DMiscCascadedAttributes)2.0In the context of
A3DMiscCascadedAttributes, an attribute is aProductOccurrence-level configuration that affects the visibility of the product occurrence.m_bShowandm_bRemovedboth trigger the direct visibility of the object in a render scene. Yet whilem_bShowonly sets whether it is hide or shown,m_bRemovedis used to actually express its removal from the model file.Objects can be organized by assigning them into layers. All the items inside a same layer are treated as a group. A layer is a numeric identifier which is set with
m_usLayer. Treatments can be applied on a model file with restrictions on layers using anA3DAsmFilterentity. When no specific layer is set,m_usLayercan beA3D_DEFAULT_LAYER.The
m_sStylestructure is used to fully describe the rendering style of the object, including colors, line patterns and materials.
Variables
-
A3DBool
A3DMiscCascadedAttributesData.m_bShow -
Sets whethers the object is shown (
A3D_TRUE) or hidden (A3D_FALSE)
-
A3DBool
A3DMiscCascadedAttributesData.m_bRemoved -
If true, the object or its reference has been removed from the model file.
-
A3DUns16
A3DMiscCascadedAttributesData.m_usLayer -
Layer identifier. Can be
A3D_DEFAULT_LAYER
-
A3DGraphStyleData
A3DMiscCascadedAttributesData.m_sStyle -
Style to use for the object.
-
A3DRiCoordinateSystem *
A3DMiscCascadedAttributesData.m_pCoordinateSystem -
Reserved for future use.