A3DMiscCascadedAttributesData
Fields
Detailed Description
-
struct A3DMiscCascadedAttributesData
Describes inheritable properties of a model file node (
A3DMiscCascadedAttributes
)In the context of
A3DMiscCascadedAttributes
, an attribute is aProductOccurrence
-level configuration that affects the visibility of the product occurrence.- Version
2.0
m_bShow
andm_bRemoved
both trigger the direct visibility of the object in a render scene. Yet whilem_bShow
only sets whether it is hide or shown,m_bRemoved
is 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 anA3DAsmFilter
entity. When no specific layer is set,m_usLayer
can beA3D_DEFAULT_LAYER
.The
m_sStyle
structure is used to fully describe the rendering style of the object, including colors, line patterns and materials.See also
See also
See also
See also
See also
See also
A3DMiscCascadedAttributesEntityReferencePush
See also
- Attributes inheritance
In the context of a model file node hierarchy, cascaded describes the way and application using HOOPS Exchange will resolve conflicting attributes. Attributes are propagated downstream, from parent to children nodes, according to specific inheritance rules. Although properties propagation can be manually applied if those rules are known, HOOPS Exchange provides
A3DMiscCascadedAttributesPush
as a convenience function.
Public Members
-
A3DGraphStyleData m_sStyle
Style to use for the object.
-
A3DRiCoordinateSystem *m_pCoordinateSystem
Reserved for future use.