User Tools

Site Tools


camera

Description

Extra properties available for use if the node type is specified as “camera”.

Parent Object

Extends

Properties

Name Description Default Required
perspective A camera_perspective object definition, if this is a perspective camera. N/A this or camera_orthographic
orthographic An camera_orthographic object definition, if this is an orthographic camera. N/A this or camera_perspective

Example

Definition for a node with a “camera” type, setting values for the camera properties along with several node properties.

{
	“id” : “perspective”,
	“label” : “Cinematic”,
	“type” : “camera”,
	“parent” : “lhand”,
	“perspective” : {
		/*  See camera_perspective  */
	},
	“orthographic” : {
		/*  See camera_orthographic  */
	},
	“rotation” : [
		{
			/*  See channel_float  */
		},
		…
	],
	“translation” : [
		{
			/*  See channel_float  */
		},
		…
	],
	“scale” : [
		{
			/*  See channel_float  */
		},
		…
	]
}