Up

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.

  • x

    Undocumented

    Declaration

    Swift

    public var x: Double?
  • y

    Undocumented

    Declaration

    Swift

    public var y: Double?
  • z

    Undocumented

    Declaration

    Swift

    public var z: Double?
  • Creates Up object with specified properties.

    Declaration

    Swift

    public init(x: Double? = nil, y: Double? = nil, z: Double? = nil)