InstanceModifier

InstanceModifier

Enumerates instance modifier modes. More information can be found here.

Enumeration Members

InstanceModifier.AlwaysDraw
AlwaysDraw: 9

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

InstanceModifier.DoNotCut
DoNotCut: 1

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

InstanceModifier.DoNotExplode
DoNotExplode: 0

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

InstanceModifier.DoNotLight
DoNotLight: 5

If set, the instance will not be lit.

InstanceModifier.DoNotOutlineHighlight
DoNotOutlineHighlight: 6

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

InstanceModifier.DoNotReset
DoNotReset: 14

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

InstanceModifier.DoNotSelect
DoNotSelect: 2

If set, the instance will not be selectable.

InstanceModifier.DoNotUseVertexColors
DoNotUseVertexColors: 8

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

InstanceModifier.DoNotXRay
DoNotXRay: 10

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

InstanceModifier.ExcludeBounding
ExcludeBounding: 7

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

InstanceModifier.OverrideSceneVisibility
OverrideSceneVisibility: 4

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

InstanceModifier.ScreenOriented
ScreenOriented: 11

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

InstanceModifier.ScreenSpace
ScreenSpace: 12

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

InstanceModifier.ScreenSpaceStretched
ScreenSpaceStretched: 13

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.

InstanceModifier.SuppressCameraScale
SuppressCameraScale: 3

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