Describes inheritable properties of a model file node (
In the context of
A3DMiscCascadedAttributes, an attribute is a
ProductOccurrence-level configuration that affects the visibility of the product occurrence.
m_bRemovedboth trigger the direct visibility of the object in a render scene. Yet while
m_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 an
A3DAsmFilterentity. When no specific layer is set,
m_sStylestructure is used to fully describe the rendering style of the object, including colors, line patterns and materials.
- 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
A3DMiscCascadedAttributesPushas a convenience function.