init(named:offsetPosition:offsetOrientation:)
Creates a geometric pin that identifies a local position and orientation.
Declaration
init(named name: String, offsetPosition: SIMD3<Float> = SIMD3<Float>(0, 0, 0), offsetOrientation: simd_quatf = simd_quatf(ix: 0, iy: 0, iz: 0, r: 1))Parameters
- name:
Name of the
GeometricPinin the namespace of the owning entity. - offsetPosition:
Adjustment of the
GeometricPinposition in the local coordinate frame. - offsetOrientation:
Adjustment of the
GeometricPinorientation in the local coordinate frame.