Contents

simdLocalTranslate(by:)

Changes the node’s position relative to its current position.

Declaration

func simdLocalTranslate(by translation: simd_float3)

Parameters

  • translation:

    The distance, in node-local space, by which to move the node.

Discussion

The effects of this method are animatable; that is, calling this method during an implicit-animation transaction animates the move. (See Animating SceneKit Content.)

See Also

Related Documentation

Performing Node-Relative Operations