MeshInstanceCreationFlags

wv.MeshInstanceCreationFlags

Flags used when creating a mesh instance

Enumeration Members

wv.MeshInstanceCreationFlags.AlwaysDraw
AlwaysDraw: 2048

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

wv.MeshInstanceCreationFlags.DoNotCut
DoNotCut: 4

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

wv.MeshInstanceCreationFlags.DoNotExplode
DoNotExplode: 8

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

wv.MeshInstanceCreationFlags.DoNotLight
DoNotLight: 32

If set, the instance will not be lit.

wv.MeshInstanceCreationFlags.DoNotOutlineHighlight
DoNotOutlineHighlight: 64

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

wv.MeshInstanceCreationFlags.DoNotReset
DoNotReset: 32768

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

wv.MeshInstanceCreationFlags.DoNotSelect
DoNotSelect: 16

If set, the instance will not be selectable.

wv.MeshInstanceCreationFlags.DoNotUseVertexColors
DoNotUseVertexColors: 256

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

wv.MeshInstanceCreationFlags.DoNotXRay
DoNotXRay: 1024

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

wv.MeshInstanceCreationFlags.ExcludeBounding
ExcludeBounding: 128

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

wv.MeshInstanceCreationFlags.Invisible
Invisible: 512

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

wv.MeshInstanceCreationFlags.None
None: 0
wv.MeshInstanceCreationFlags.OverrideSceneVisibility
OverrideSceneVisibility: 4096

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

wv.MeshInstanceCreationFlags.ScreenOriented
ScreenOriented: 2

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

wv.MeshInstanceCreationFlags.ScreenSpace
ScreenSpace: 8192

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).

wv.MeshInstanceCreationFlags.ScreenSpaceStretched
ScreenSpaceStretched: 16384

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.

wv.MeshInstanceCreationFlags.SuppressCameraScale
SuppressCameraScale: 1

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