RenderCameraParameters Class

Description

The render camera parameters. It is usually used when setting parameters of optical device, like “eye” from eyewears.


Fields

DeviceModel

C#

public string DeviceModel

Device model.

PositionOffset

C#

public Vector3 PositionOffset

Position offset.

RotationOffset

C#

public Vector3 RotationOffset

Rotation offset.

Size

C#

public Vector2 Size

(Image) size.

FocalLength

C#

public Vector2 FocalLength

Focal length.

PrincipalPoint

C#

public Vector2 PrincipalPoint

Principal point.


Properties

Transform

C#

public Matrix4x4 Transform { get; }

Transform matrix.

Parameters

C#

public CameraParameters Parameters { get; }

The equivalent parameter of camera device.


Methods

Build

C#

public void Build( CameraParameters cameraParameters)

Build RenderCameraParameters.Transform and RenderCameraParameters.Parameters .

Dispose

C#

public void Dispose()

Dispose resources.