Synced
EditorViewportManipulationSpace.Constructor
Section titled “EditorViewportManipulationSpace.Constructor”
- Creates a manipulation space matching one rendered viewport frame.
Required contracts
Section titled “Required contracts”API: scripting
Project: Inno.Editor.Rendering
Scope: Editor
Declaration
Section titled “Declaration”public InnoEditor.Rendering.EditorViewportManipulationSpace.EditorViewportManipulationSpace(InnoEngine.Mathematics.Matrix viewMatrix, InnoEngine.Mathematics.Matrix projectionMatrix, bool isOrthographic, InnoEditor.Rendering.EditorViewportManipulationPlane plane = InnoEditor.Rendering.EditorViewportManipulationPlane.Spatial)Parameters
Section titled “Parameters”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.
Exceptions
Section titled “Exceptions”Exception T:System.ArgumentOutOfRangeException: The plane is not one of the defined neutral manipulation orientations.