SwiftinitRealityFoundationRealityKit.SpotLightComponent
init
RealityKit.SpotLightComponent.init(cgColor: CGColorRef, intensity: Float, innerAngleInDegrees: Float, outerAngleInDegrees: Float, attenuationRadius: Float, attenuationFalloffExponent: Float) -> RealityKit.SpotLightComponent
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
param{}
- 0cgColor:typealiasCGColorRef
- 1intensity:structSwift.Float
- 2innerAngleInDegrees:structSwift.Float
- 3outerAngleInDegrees:structSwift.Float
- 4attenuationRadius:structSwift.Float
- 5attenuationFalloffExponent:structSwift.Float