ModelPoseFlags

Description

[Flags]
enum Tinman.Engine.Models.ModelPoseFlags

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

None

public constant None → (0:int32)

No pose flags.

NonRecursive

public constant NonRecursive → (1:int32)

Apply the model pose flags only to the target IModel.

Hide

public constant Hide → (2:int32)

Hide the IModel object.

Cull

public constant Cull → (12:int32)

Bitmask for extracting the cull mode.

CullFlip

public constant CullFlip → (4:int32)

Flip back-face and front-face rendering of the IModel.

CullNone

public constant CullNone → (8:int32)

Disable culling during rendering of the IModel.

Material

public constant Material → (48:int32)

Bitmask for extracting the material mode.

MaterialSolid

public constant MaterialSolid → (16:int32)

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.

MaterialOpaque

public constant MaterialOpaque → (32:int32)

Changes the IModel material mode to opaque.

This flag effectively specifies ModelPartFlags.Opaque, which makes the object fully opaque, without transparency.

MaterialTransparent

public constant MaterialTransparent → (48:int32)

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.

All

public constant All → (63:int32)

All flags.