MeshInstanceCreationFlags

Flags used when creating a mesh instance


Enumeration members

AlwaysDraw

If set, the instance will be drawn before other instances and will not be culled in order to reach the target frame rate.

DoNotCut

If set, the instance will not be affected by cutting planes.

DoNotExplode

If set, the instance will not be affected by explode.

DoNotLight

If set, the instance will not be lit.

DoNotOutlineHighlight

If set, the instance will not be outlined when highlighted.

DoNotReset

If set, the instance will not be affected by resets. Or by methods that unset or reset certain properties on the instance

DoNotSelect

If set, the instance will not be selectable.

DoNotUseVertexColors

If set, the instance will not use the mesh’s per-vertex colors.

DoNotXRay

If set, the instance will not be affected by DrawMode.XRay

ExcludeBounding

If set, the instance will not be included in bounding calculations.

Invisible

If set, the instance will not be visible until explicitly made visible.

None

OverrideSceneVisibility

If set, the instance will ignore scene-level visibility.

ScreenOriented

If set, the instance will be oriented such that the cardinal axes of object space are aligned with the cardinal axes of screen space.

ScreenSpace

If set, the instance will be drawn in a space that extends from X=-1 at the left side of the screen to X=1 at the right side of the screen and from Y=-1 at the bottom of the screen to Y=1 at the top of the screen.

If the aspect ratio of the screen is not 1:1, the instance will be scaled so that it appears as if the aspect ratio were 1:1 (i.e., so that the instances will not appear stretched).

ScreenSpaceStretched

If set, the instance will be drawn in a space that extends from X=-1 at the left side of the screen to X=1 at the right side of the screen and from Y=-1 at the bottom of the screen to Y=1 at the top of the screen.

If the aspect ratio of the screen is not 1:1, the instance will stretch in the direction of the longer side.

SuppressCameraScale

If set, the instance will be drawn at the same size regardless of camera settings.