TorchSceneNode

public class TorchSceneNode : SCNNode

TorchSceneNode maps directly to an object in a Torch project.

  • The TorchUUID of the object.

    Declaration

    Swift

    public let uuid: TorchUUID
  • Call transform to move both the SCNNode and update the transform in the TorchSDK. Currently used by TorchGestureManager to implement object manipulation. But can be used by the appliation to move nodes around in response to other actions.

    Declaration

    Swift

    public func transform(translate: simd_float3?, rotate: simd_quatf?, scale: simd_float3?)

    Parameters

    translate

    The relative translation vector.

    rotate

    The relative rotation quaternion.

    scale

    The relative scale vector.