
################
InstanceModifier
################

.. js:data:: InstanceModifier

   Enumerates instance modifier modes. More information can be found `here <https://docs.techsoft3d.com/hoops/visualize-web/latest/prog_guide/viewing/model_attributes/instance-modifiers.html>`_\ .
   
   
   Index
   =====
   
   .. rubric:: Enumeration Members
   
   
   .. rst-class:: api-xref-list
   
   
   * :js:data:`~InstanceModifier.AlwaysDraw`
   * :js:data:`~InstanceModifier.DoNotCut`
   * :js:data:`~InstanceModifier.DoNotExplode`
   * :js:data:`~InstanceModifier.DoNotLight`
   * :js:data:`~InstanceModifier.DoNotOutlineHighlight`
   * :js:data:`~InstanceModifier.DoNotReset`
   * :js:data:`~InstanceModifier.DoNotSelect`
   * :js:data:`~InstanceModifier.DoNotUseVertexColors`
   * :js:data:`~InstanceModifier.DoNotXRay`
   * :js:data:`~InstanceModifier.ExcludeBounding`
   * :js:data:`~InstanceModifier.OverrideSceneVisibility`
   * :js:data:`~InstanceModifier.ScreenOriented`
   * :js:data:`~InstanceModifier.ScreenSpace`
   * :js:data:`~InstanceModifier.ScreenSpaceStretched`
   * :js:data:`~InstanceModifier.SuppressCameraScale`
   
   




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

.. js:data:: InstanceModifier.AlwaysDraw

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



.. js:data:: InstanceModifier.DoNotCut

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



.. js:data:: InstanceModifier.DoNotExplode

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



.. js:data:: InstanceModifier.DoNotLight

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



.. js:data:: InstanceModifier.DoNotOutlineHighlight

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



.. js:data:: InstanceModifier.DoNotReset

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



.. js:data:: InstanceModifier.DoNotSelect

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



.. js:data:: InstanceModifier.DoNotUseVertexColors

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



.. js:data:: InstanceModifier.DoNotXRay

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



.. js:data:: InstanceModifier.ExcludeBounding

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



.. js:data:: InstanceModifier.OverrideSceneVisibility

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



.. js:data:: InstanceModifier.ScreenOriented

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



.. js:data:: InstanceModifier.ScreenSpace

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



.. js:data:: InstanceModifier.ScreenSpaceStretched

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



.. js:data:: InstanceModifier.SuppressCameraScale

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





