Vector3
public struct Vector3 : Deserializable
extension Vector3: Position
extension Vector3: Focusable
extension Vector3: Equatable
Representation of a 3D Vector
-
The
xcomponent of a vector, the first componentDeclaration
Swift
public var x: Float { get } -
The
ycomponent of a vector, the first componentDeclaration
Swift
public var y: Float { get } -
The
zcomponent of a vector, the first componentDeclaration
Swift
public let z: Float -
Initialize a vector with the supplied x, y, & z components
Declaration
Swift
public init(_ x: Float, _ y: Float, _ z: Float) -
Initialize a vector with the supplied x, y, & z components
Declaration
Swift
public init(x: Float, y: Float, z: Float) -
Initialize a vector with the supplied x, y, & z components
Declaration
Swift
public init(_ v: SCNVector3) -
Declaration
Swift
static var expectedSize: Int { get }
View on GitHub
Vector3 Structure Reference