Click or drag to resize

Viewport Class

Viewport class, i.e. a rendering region on a render target.
Inheritance Hierarchy
SystemObject
  NeoAxisViewport

Namespace:  NeoAxis
Assembly:  NeoAxis.Core (in NeoAxis.Core.dll) Version: 2024.1.1.0 (2024.1.1.0)
Syntax
C#
public sealed class Viewport

The Viewport type exposes the following members.

Properties
  NameDescription
Public propertyStatic memberAllKeys
Public propertyAllowRenderScreenLabels
Public propertyAnyData
Public propertyAttachedScene
Public propertyBackgroundColorDefault
Public propertyCameraSettings
Gets last used camera settings for this viewport.
Public propertyCanvasRenderer
Gets GUI renderer for this viewport.
Public propertyDimensions
Gets or sets the dimensions (after creation).
Public propertyDimensionsInPixels
Gets the dimensions of the viewport, a value in pixels.
Public propertyDisposed
Public propertyInstantCameraMovementHappens
Public propertyLastFrameScreenLabelByObjectInSpace
Public propertyLastFrameScreenLabels
The list of object labels on the screen that were shown in the last frame.
Public propertyLastUpdateTime
Public propertyLastUpdateTimeStep
Public propertyLastUpdateTimeStepSmooth
Public propertyMode
Public propertyMousePosition
Public propertyMouseRelativeMode
Public propertyOutputFlipY
Public propertyOutputViewport
Public propertyParent
Gets the parent render target.
Public propertyPreviousFramePosition
Public propertyPreviousFramePositionChange
Public propertyPreviousFrameProjectionMatrix
Public propertyPreviousFrameViewMatrixRelative
Public propertyPreviousUpdateTime
Public propertyRenderingContext
Public propertyRenderingPipelineCreated
Public propertySimple3DRenderer
Gets simple 3D renderer.
Public propertySizeInPixels
Public propertyUIContainer
Gets the root of GUI controls of this viewport.
Top
Methods
  NameDescription
Public methodDispose
Releases the resources that are used by the object.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetKeyDownTime
Public methodGetKeyUpTime
Public methodGetLastFrameScreenLabelByObjectInSpace
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIsJoystickButtonPressed
Public methodIsKeyLocked
Public methodIsKeyPressed
Public methodIsMouseButtonPressed
Public methodKeysAndMouseButtonUpAll
Public methodNotifyInstantCameraMovement
Public methodPerformJoystickEvent
Public methodPerformKeyDown
Public methodPerformKeyPress
Public methodPerformKeyUp
Public methodPerformMouseDoubleClick
Public methodPerformMouseDown
Public methodPerformMouseMove
Public methodPerformMouseUp
Public methodPerformMouseWheel
Public methodPerformSpecialInputDeviceEvent
Public methodPerformTick
Public methodPerformTouch
Public methodPerformUpdateBeforeOutputEvents
Public methodRenderingPipelineCreate
Public methodRenderingPipelineDestroyCreated
Public methodResetLastUpdateTime
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodUpdate
Updates viewport with the rendering of attached map and GUI rendering.
Top
Events
Extension Methods
See Also