Camera
public struct Camera : Encodable
Undocumented
-
Sets the (x,y,z) components of the ‘up’ camera vector.
This vector determines the up direction of this scene with respect to the page. The default is {x: 0, y: 0, z: 1} which means that the z axis points up.
See moreDeclaration
Swift
public struct Up : Encodable -
Sets the (x,y,z) components of the ‘up’ camera vector.
This vector determines the up direction of this scene with respect to the page. The default is {x: 0, y: 0, z: 1} which means that the z axis points up.
Declaration
Swift
public var up: Up? -
Sets the (x,y,z) components of the ‘center’ camera vector This vector determines the translation (x,y,z) space about the center of this scene.
By default, there is no such translation.
See moreDeclaration
Swift
public struct Center : Encodable -
Sets the (x,y,z) components of the ‘center’ camera vector This vector determines the translation (x,y,z) space about the center of this scene.
By default, there is no such translation.
Declaration
Swift
public var center: Center? -
Sets the (x,y,z) components of the ‘eye’ camera vector.
This vector determines the view point about the origin of this scene.
See moreDeclaration
Swift
public struct Eye : Encodable -
Sets the (x,y,z) components of the ‘eye’ camera vector.
This vector determines the view point about the origin of this scene.
Declaration
Swift
public var eye: Eye? -
Undocumented
See moreDeclaration
Swift
public struct Projection : Encodable -
Undocumented
Declaration
Swift
public var projection: Projection? -
Creates
Cameraobject with specified properties.Declaration
Swift
public init(up: Up? = nil, center: Center? = nil, eye: Eye? = nil, projection: Projection? = nil)Parameters
upSets the (x,y,z) components of the ‘up’ camera vector.
centerSets the (x,y,z) components of the ‘center’ camera vector This vector determines the translation (x,y,z) space about the center of this scene.
eyeSets the (x,y,z) components of the ‘eye’ camera vector.
projection
View on GitHub
Install in Dash
Camera Structure Reference