
#########################
MeshInstanceCreationFlags
#########################

.. js:data:: MeshInstanceCreationFlags

   Flags used when creating a mesh instance
   
   
   Index
   =====
   
   .. rubric:: Enumeration Members
   
   
   .. rst-class:: api-xref-list
   
   
   * :js:data:`~MeshInstanceCreationFlags.AlwaysDraw`
   * :js:data:`~MeshInstanceCreationFlags.DoNotCut`
   * :js:data:`~MeshInstanceCreationFlags.DoNotExplode`
   * :js:data:`~MeshInstanceCreationFlags.DoNotLight`
   * :js:data:`~MeshInstanceCreationFlags.DoNotOutlineHighlight`
   * :js:data:`~MeshInstanceCreationFlags.DoNotReset`
   * :js:data:`~MeshInstanceCreationFlags.DoNotSelect`
   * :js:data:`~MeshInstanceCreationFlags.DoNotUseVertexColors`
   * :js:data:`~MeshInstanceCreationFlags.DoNotXRay`
   * :js:data:`~MeshInstanceCreationFlags.ExcludeBounding`
   * :js:data:`~MeshInstanceCreationFlags.Invisible`
   * :js:data:`~MeshInstanceCreationFlags.None`
   * :js:data:`~MeshInstanceCreationFlags.OverrideSceneVisibility`
   * :js:data:`~MeshInstanceCreationFlags.ScreenOriented`
   * :js:data:`~MeshInstanceCreationFlags.ScreenSpace`
   * :js:data:`~MeshInstanceCreationFlags.ScreenSpaceStretched`
   * :js:data:`~MeshInstanceCreationFlags.SuppressCameraScale`
   
   




Enumeration Members
===================

.. js:data:: MeshInstanceCreationFlags.AlwaysDraw

   .. rst-class:: sig-pretty-signature
   
      | 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.
   



.. js:data:: MeshInstanceCreationFlags.DoNotCut

   .. rst-class:: sig-pretty-signature
   
      | DoNotCut: *4*
   
   If set, the instance will not be affected by cutting planes.
   



.. js:data:: MeshInstanceCreationFlags.DoNotExplode

   .. rst-class:: sig-pretty-signature
   
      | DoNotExplode: *8*
   
   If set, the instance will not be affected by explode.
   



.. js:data:: MeshInstanceCreationFlags.DoNotLight

   .. rst-class:: sig-pretty-signature
   
      | DoNotLight: *32*
   
   If set, the instance will not be lit.
   



.. js:data:: MeshInstanceCreationFlags.DoNotOutlineHighlight

   .. rst-class:: sig-pretty-signature
   
      | DoNotOutlineHighlight: *64*
   
   If set, the instance will not be outlined when highlighted.
   



.. js:data:: MeshInstanceCreationFlags.DoNotReset

   .. rst-class:: sig-pretty-signature
   
      | DoNotReset: *32768*
   
   If set, the instance will not be affected by resets. Or by methods that unset or reset certain properties on the instance
   



.. js:data:: MeshInstanceCreationFlags.DoNotSelect

   .. rst-class:: sig-pretty-signature
   
      | DoNotSelect: *16*
   
   If set, the instance will not be selectable.
   



.. js:data:: MeshInstanceCreationFlags.DoNotUseVertexColors

   .. rst-class:: sig-pretty-signature
   
      | DoNotUseVertexColors: *256*
   
   If set, the instance will not use the mesh's per-vertex colors.
   



.. js:data:: MeshInstanceCreationFlags.DoNotXRay

   .. rst-class:: sig-pretty-signature
   
      | DoNotXRay: *1024*
   
   If set, the instance will not be affected by [[DrawMode.XRay]].
   



.. js:data:: MeshInstanceCreationFlags.ExcludeBounding

   .. rst-class:: sig-pretty-signature
   
      | ExcludeBounding: *128*
   
   If set, the instance will not be included in bounding calculations.
   



.. js:data:: MeshInstanceCreationFlags.Invisible

   .. rst-class:: sig-pretty-signature
   
      | Invisible: *512*
   
   If set, the instance will not be visible until explicitly made visible.
   



.. js:data:: MeshInstanceCreationFlags.None

   .. rst-class:: sig-pretty-signature
   
      | None: *0*
   



.. js:data:: MeshInstanceCreationFlags.OverrideSceneVisibility

   .. rst-class:: sig-pretty-signature
   
      | OverrideSceneVisibility: *4096*
   
   If set, the instance will ignore scene-level visibility.
   



.. js:data:: MeshInstanceCreationFlags.ScreenOriented

   .. rst-class:: sig-pretty-signature
   
      | 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.
   



.. js:data:: MeshInstanceCreationFlags.ScreenSpace

   .. rst-class:: sig-pretty-signature
   
      | 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).
   



.. js:data:: MeshInstanceCreationFlags.ScreenSpaceStretched

   .. rst-class:: sig-pretty-signature
   
      | 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.
   



.. js:data:: MeshInstanceCreationFlags.SuppressCameraScale

   .. rst-class:: sig-pretty-signature
   
      | SuppressCameraScale: *1*
   
   If set, the instance will be drawn at the same size regardless of camera settings.
   





