Skip to content
API referenceDevelopmentEngine APIEngine ccf7d03f
Synced

EditorViewportManipulationSpace.Constructor

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

API: engine
Project: Inno.Editor.Rendering

public Inno.Editor.Rendering.EditorViewportManipulationSpace.EditorViewportManipulationSpace(Inno.Core.Mathematics.Matrix viewMatrix, Inno.Core.Mathematics.Matrix projectionMatrix, bool isOrthographic, Inno.Editor.Rendering.EditorViewportManipulationPlane plane = Inno.Editor.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.