Vector3
public struct Vector3 : Deserializable
extension Vector3: Position
extension Vector3: Focusable
extension Vector3: Equatable
Representation of a 3D Vector
-
The
x
component of a vector, the first componentDeclaration
Swift
public var x: Float { get }
-
The
y
component of a vector, the first componentDeclaration
Swift
public var y: Float { get }
-
The
z
component 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 }