Documentation - v19.12.0-dev
    Preparing search index...

    Constrains object transformations to a single world axis and displays the corresponding helper line in the scene.

    Index

    Constructors

    Accessors

    • get snapMode(): SnapMode

      Returns SnapMode

    Methods

    • create a matrix with the snap mode replace the position of the unchosen axis with this initial position

      Parameters

      • initPos: Vector3
      • matrix: Matrix4
      • target: Matrix4

      Returns Matrix4

    • Set the snap mode and add the corresponding helper line

      Parameters

      Returns void