struct Camera3D
Swift
struct Camera3D
Not documented.
Sources/LavaUI/Spatial.swift:54
Properties
var far: Float
Not documented.
Sources/LavaUI/Spatial.swift:59
var fieldOfView: Angle3D
Not documented.
Sources/LavaUI/Spatial.swift:57
var near: Float
Not documented.
Sources/LavaUI/Spatial.swift:58
var position: Vector3
Not documented.
Sources/LavaUI/Spatial.swift:55
var target: Vector3
Not documented.
Sources/LavaUI/Spatial.swift:56
Methods
static func perspective(position: Vector3 = [0, 0, 7], target: Vector3 = [0, 0, 0], fieldOfView: Angle3D = .degrees(42), near: Float = 0.05, far: Float = 100) -> Camera3D
Not documented.
Sources/LavaUI/Spatial.swift:61