Click or drag to resize

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


Namespace: NeoAxis
Assembly: NeoAxis.Core (in NeoAxis.Core.dll) Version: 2026.1.1.0 (2026.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  Viewport
 
viewMatrix  Matrix4F
 
projectionMatrix  Matrix4F
 
clearBuffers  FrameBufferTypes
 
clearBackgroundColor  ColorValue
 
clearDepthValue  Single  (Optional)
 
clearStencilValue  Byte  (Optional)
 
See Also