Click or drag to resize

ViewportRenderingContextSetViewport Method (Viewport, Matrix4F, Matrix4F, FrameBufferTypes, ColorValue, Single, Byte)

Namespace:  NeoAxis
Assembly:  NeoAxis.Core (in NeoAxis.Core.dll) Version: 2024.1.1.0 (2024.1.1.0)
Syntax
C#
public void SetViewport(
	Viewport viewport,
	Matrix4F viewMatrix,
	Matrix4F projectionMatrix,
	FrameBufferTypes clearBuffers,
	ColorValue clearBackgroundColor,
	float clearDepthValue = 1f,
	byte clearStencilValue = 0
)

Parameters

viewport
Type: NeoAxisViewport
viewMatrix
Type: NeoAxisMatrix4F
projectionMatrix
Type: NeoAxisMatrix4F
clearBuffers
Type: NeoAxisFrameBufferTypes
clearBackgroundColor
Type: NeoAxisColorValue
clearDepthValue (Optional)
Type: SystemSingle
clearStencilValue (Optional)
Type: SystemByte
See Also