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{}

  1. 0cgColor:
    typealiasCGColorRef
  2. 1intensity:
  3. 2innerAngleInDegrees:
  4. 3outerAngleInDegrees:
  5. 4attenuationRadius:
  6. 5attenuationFalloffExponent: