The "forward" (-Z) direction vector relative to the node, expressed in world space.
SDKs
- iOS 11.0+
- macOS 10.13+
- Mac Catalyst 13.0+
- tvOS 11.0+
- watchOS 4.0+
Framework
- Scene
Kit
Declaration
@property(readonly, nonatomic) simd _float3 simdWorldFront;
Discussion
Reading this property is equivalent to reading the simd
class property and using the simd
or simd
method to convert that vector from the node's local coordinate space to the scene's world coordinate space.