Click or drag to resize

PreviewControlWithViewportSetCameraByBounds Method


Namespace: NeoAxis.Editor
Assembly: NeoAxis.Core.Editor (in NeoAxis.Core.Editor.dll) Version: 2026.1.1.0 (2026.1.1.0)
Syntax
C#
public void SetCameraByBounds(
	Bounds bounds,
	double distanceScale = 1,
	bool mode2D = false
)

Parameters

bounds  Bounds
 
distanceScale  Double  (Optional)
 
mode2D  Boolean  (Optional)
 

Implements

IPreviewControlWithViewportSetCameraByBounds(Bounds, Double, Boolean)
See Also