One Logo Pool Ball
RealityFoundation · IOS API REFERENCE

PortalComponent.ClippingPlane

struct · iOS 18.0+ · SDK 27.1

struct ClippingPlane

A 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.

Members (5)

get · iOS 18.0+

normal

TypeScript
get normal(): SDKHandle
Swift declaration
var normal: SIMD3<Float>

The normal of the clipping plane.

set · iOS 18.0+

normal

TypeScript
set normal(value: SDKHandle)
Swift declaration
var normal: SIMD3<Float>

The normal of the clipping plane.

init · iOS 18.0+

init

TypeScript
static init(position: SDKHandle, normal: SDKHandle): PortalComponent_ClippingPlane
Swift declaration
init(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 · iOS 18.0+

position

TypeScript
get position(): SDKHandle
Swift declaration
var position: SIMD3<Float>

The position of the clipping plane.

set · iOS 18.0+

position

TypeScript
set position(value: SDKHandle)
Swift declaration
var position: SIMD3<Float>

The position of the clipping plane.

Skipped declarations

No declarations were skipped in this snapshot.

All RealityFoundation types →