Kanzi  3.9.2
Java API
CameraMetadata Interface Reference

Metadata definitions for Camera. More...

Inheritance diagram for CameraMetadata:
[legend]

Public Attributes

DynamicPropertyType< Float > AspectRatioProperty
 The aspect ratio of the camera. More...
 
DynamicPropertyType< Vector4AsymmetricFovProperty
 The field of view of the camera in degrees. More...
 
DynamicPropertyType< Boolean > DisableAspectRatioProperty
 Whether to use the aspect ratio setting from the viewport in render pass. More...
 
DynamicPropertyType< Float > FovProperty = new DynamicPropertyType<>("Camera.Fov", Float.class)
 The field of view of the camera in degrees.
 
DynamicPropertyType< Integer > FovTypeProperty
 Defines the direction of the field of view to either x or y. More...
 
AbstractMetaclass metaclass = new AbstractMetaclass("Kanzi.Camera")
 Metaclass for Camera.
 
DynamicPropertyType< Integer > OrthogonalCoordinateSystemTypeProperty
 Defines the type of the orthogonal coordinate system. More...
 
DynamicPropertyType< Float > OrthogonalPlaneHeightProperty
 The value used for scaling the view area of a relative orthographic camera. More...
 
DynamicPropertyType< Integer > ProjectionTypeProperty
 Defines the camera type to either perspective or orthographic camera. More...
 
DynamicPropertyType< Float > ZFarProperty = new DynamicPropertyType<>("Camera.ZFar", Float.class)
 The distance of the camera far clipping plane. More...
 
DynamicPropertyType< Float > ZNearProperty
 The distance of the camera near clipping plane. More...
 

Detailed Description

Metadata definitions for Camera.

Member Data Documentation

◆ AspectRatioProperty

DynamicPropertyType<Float> AspectRatioProperty
Initial value:
=
new DynamicPropertyType<>("Camera.AspectRatio", Float.class)

The aspect ratio of the camera.

◆ AsymmetricFovProperty

DynamicPropertyType<Vector4> AsymmetricFovProperty
Initial value:
=
new DynamicPropertyType<>("Camera.AsymmetricFov", Vector4.class)

The field of view of the camera in degrees.

Angles are in order left, right, up, and down. Angles to the right of the center and upwards of the center are positive.

◆ DisableAspectRatioProperty

DynamicPropertyType<Boolean> DisableAspectRatioProperty
Initial value:
=
new DynamicPropertyType<>("Camera.DisableAspectRatio", Boolean.class)

Whether to use the aspect ratio setting from the viewport in render pass.

If not, you can set the aspect ratio in the camera.

◆ FovTypeProperty

DynamicPropertyType<Integer> FovTypeProperty
Initial value:
=
new DynamicPropertyType<>("Camera.FovType", Integer.class)

Defines the direction of the field of view to either x or y.

◆ OrthogonalCoordinateSystemTypeProperty

DynamicPropertyType<Integer> OrthogonalCoordinateSystemTypeProperty
Initial value:
=
new DynamicPropertyType<>("Camera.OrthogonalCoordinateSystemType", Integer.class)

Defines the type of the orthogonal coordinate system.

In the absolute mode the camera uses pixel coordinates. In the relative mode the camera displays an area whose width is -1..1 scaled with the value set by the Orthogonal Plane Size property.

◆ OrthogonalPlaneHeightProperty

DynamicPropertyType<Float> OrthogonalPlaneHeightProperty
Initial value:
=
new DynamicPropertyType<>("Camera.OrthogonalPlaneHeight", Float.class)

The value used for scaling the view area of a relative orthographic camera.

◆ ProjectionTypeProperty

DynamicPropertyType<Integer> ProjectionTypeProperty
Initial value:
=
new DynamicPropertyType<>("Camera.ProjectionType", Integer.class)

Defines the camera type to either perspective or orthographic camera.

◆ ZFarProperty

DynamicPropertyType<Float> ZFarProperty = new DynamicPropertyType<>("Camera.ZFar", Float.class)

The distance of the camera far clipping plane.

The camera shows only the objects that are closer than the value set in this property.

◆ ZNearProperty

DynamicPropertyType<Float> ZNearProperty
Initial value:
=
new DynamicPropertyType<>("Camera.ZNear", Float.class)

The distance of the camera near clipping plane.

The camera shows only the objects that are farther away than the value set in this property.