One Logo Pool Ball
RealityFoundation · IOS API REFERENCE

HasPointLight

protocol · iOS 13.0+ · SDK 27.1

@MainActor @preconcurrency protocol HasPointLight : HasTransform

An interface that defines a point light source component.

Members (2)

get · iOS 13.0+

light

Swift declaration
@MainActor @preconcurrency var light: PointLightComponent { get set }

A point light component for the entity.

set · iOS 13.0+

light

Swift declaration
@MainActor @preconcurrency var light: PointLightComponent { get set }

A point light component for the entity.

Skipped declarations

No declarations were skipped in this snapshot.

All RealityFoundation types →