ModelPoseFlags
Description
Enumeration of model pose flags.
Model pose flags are applied to a specific target IModel. By default, all descendent models of the target model inherit the same flag during rendering, unless NonRecursive is specified.
Public / Constants
NonRecursive
Apply the model pose flags only to the target IModel.
Hide
Hide the IModel object.
MaterialSolid
Changes the IModel material mode to solid.
This flag effectively removes the ModelPartFlags.Opaque and ModelPartFlags.Transparent flags, which makes the object solid and will render it with RenderStatePreset.AlphaCoverage.
- See also
MaterialOpaque
Changes the IModel material mode to opaque.
This flag effectively specifies ModelPartFlags.Opaque, which makes the object fully opaque, without transparency.
- See also
MaterialTransparent
Changes the IModel material mode to transparent.
This flag effectively removes the ModelPartFlags.Opaque flag and adds the ModelPartFlags.Transparent flag, which make the object transparent and will render it with RenderStatePreset.AlphaBlending and RenderStageFlags.OrderIndependentTransparency, if supported.
- See also