Skip to content
API referenceDevelopmentEditor scriptingEngine ccf7d03f
Synced

EditorViewportManipulationSpace.Constructor

Section titled “EditorViewportManipulationSpace.Constructor”
  • Creates a manipulation space matching one rendered viewport frame.

API: scripting
Project: Inno.Editor.Rendering
Scope: Editor

public InnoEditor.Rendering.EditorViewportManipulationSpace.EditorViewportManipulationSpace(InnoEngine.Mathematics.Matrix viewMatrix, InnoEngine.Mathematics.Matrix projectionMatrix, bool isOrthographic, InnoEditor.Rendering.EditorViewportManipulationPlane plane = InnoEditor.Rendering.EditorViewportManipulationPlane.Spatial)

Parameter viewMatrix: World-to-view matrix used by the submitted frame.

Parameter projectionMatrix: View-to-clip matrix used by the submitted frame.

Parameter isOrthographic: Whether the projection is orthographic; this does not imply planar manipulation.

Parameter plane: The contributor-selected transform handle orientation, independent of projection.

Exception T:System.ArgumentOutOfRangeException: The plane is not one of the defined neutral manipulation orientations.