normal
TypeScriptget normal(): SDKHandleSwift declarationvar normal: SIMD3<Float>The normal of the clipping plane.
struct · iOS 18.0+ · SDK 27.1
struct ClippingPlaneA representation of a portal as an infinite plane. Use this type with ``PortalComponent/init(target:clippingPlane:)`` to initialize a portal component with the clipping feature in an enabled state.
get normal(): SDKHandleSwift declarationvar normal: SIMD3<Float>The normal of the clipping plane.
set normal(value: SDKHandle)Swift declarationvar normal: SIMD3<Float>The normal of the clipping plane.
static init(position: SDKHandle, normal: SDKHandle): PortalComponent_ClippingPlaneSwift declarationinit(position: SIMD3<Float>, normal: SIMD3<Float>)Creates a clipping plane at a position and normal direction. - Parameters: - position: The position of the clipping plane. - normal: The normal of the clipping plane.
get position(): SDKHandleSwift declarationvar position: SIMD3<Float>The position of the clipping plane.
set position(value: SDKHandle)Swift declarationvar position: SIMD3<Float>The position of the clipping plane.
No declarations were skipped in this snapshot.