Click or drag to resize

ViewportCameraSettingsClass Constructor (Viewport, Double, Degree, Double, Double, Vector3, Vector3, Vector3, ProjectionType, Double, Double, Double, Boolean, Plane, Boolean, RenderingPipeline, Boolean)

Namespace:  NeoAxis
Assembly:  NeoAxis.Core (in NeoAxis.Core.dll) Version: 2022.1.1.0 (2022.1.1.0)
Syntax
C#
public CameraSettingsClass(
	Viewport viewport,
	double aspectRatio,
	Degree fieldOfView,
	double nearClipDistance,
	double farClipDistance,
	Vector3 position,
	Vector3 direction,
	Vector3 fixedUp,
	ProjectionType projection,
	double height,
	double exposure,
	double emissiveFactor,
	bool reflectionEnabled = false,
	Plane reflectionPlane = null,
	bool frustumCullingTest = false,
	RenderingPipeline renderingPipelineOverride = null,
	bool renderSky = true
)

Parameters

viewport
Type: NeoAxisViewport
aspectRatio
Type: SystemDouble
fieldOfView
Type: NeoAxisDegree
nearClipDistance
Type: SystemDouble
farClipDistance
Type: SystemDouble
position
Type: NeoAxisVector3
direction
Type: NeoAxisVector3
fixedUp
Type: NeoAxisVector3
projection
Type: NeoAxisProjectionType
height
Type: SystemDouble
exposure
Type: SystemDouble
emissiveFactor
Type: SystemDouble
reflectionEnabled (Optional)
Type: SystemBoolean
reflectionPlane (Optional)
Type: NeoAxisPlane
frustumCullingTest (Optional)
Type: SystemBoolean
renderingPipelineOverride (Optional)
Type: NeoAxisRenderingPipeline
renderSky (Optional)
Type: SystemBoolean
See Also