init
TypeScriptstatic init(): SCNLightSwift declarationinit()class · SDK 27.1
class SCNLightstatic init(): SCNLightSwift declarationinit()get iesProfileURL(): (string) | nullSwift declarationvar iesProfileURL: URL? { get set }set iesProfileURL(value: (string) | null)Swift declarationvar iesProfileURL: URL? { get set }get areaExtents(): SDKHandleSwift declarationvar areaExtents: simd_float3 { get set }set areaExtents(value: SDKHandle)Swift declarationvar areaExtents: simd_float3 { get set }get areaPolygonVertices(): (Array<_Foundation_NSValue>) | nullSwift declarationvar areaPolygonVertices: [NSValue]? { get set }set areaPolygonVertices(value: (Array<_Foundation_NSValue>) | null)Swift declarationvar areaPolygonVertices: [NSValue]? { get set }get areaType(): SCNLightAreaTypeSwift declarationvar areaType: SCNLightAreaType { get set }set areaType(value: SCNLightAreaType)Swift declarationvar areaType: SCNLightAreaType { get set }get attenuationEndDistance(): numberSwift declarationvar attenuationEndDistance: CGFloat { get set }set attenuationEndDistance(value: number)Swift declarationvar attenuationEndDistance: CGFloat { get set }get attenuationFalloffExponent(): numberSwift declarationvar attenuationFalloffExponent: CGFloat { get set }set attenuationFalloffExponent(value: number)Swift declarationvar attenuationFalloffExponent: CGFloat { get set }get attenuationStartDistance(): numberSwift declarationvar attenuationStartDistance: CGFloat { get set }set attenuationStartDistance(value: number)Swift declarationvar attenuationStartDistance: CGFloat { get set }get automaticallyAdjustsShadowProjection(): booleanSwift declarationvar automaticallyAdjustsShadowProjection: Bool { get set }set automaticallyAdjustsShadowProjection(value: boolean)Swift declarationvar automaticallyAdjustsShadowProjection: Bool { get set }get castsShadow(): booleanSwift declarationvar castsShadow: Bool { get set }set castsShadow(value: boolean)Swift declarationvar castsShadow: Bool { get set }get categoryBitMask(): numberSwift declarationvar categoryBitMask: Int { get set }set categoryBitMask(value: number)Swift declarationvar categoryBitMask: Int { get set }get color(): unknownSwift declarationvar color: Any { get set }set color(value: unknown)Swift declarationvar color: Any { get set }get doubleSided(): booleanSwift declarationvar doubleSided: Bool { get set }set doubleSided(value: boolean)Swift declarationvar doubleSided: Bool { get set }get drawsArea(): booleanSwift declarationvar drawsArea: Bool { get set }set drawsArea(value: boolean)Swift declarationvar drawsArea: Bool { get set }get forcesBackFaceCasters(): booleanSwift declarationvar forcesBackFaceCasters: Bool { get set }set forcesBackFaceCasters(value: boolean)Swift declarationvar forcesBackFaceCasters: Bool { get set }get gobo(): (SCNMaterialProperty) | nullSwift declarationvar gobo: SCNMaterialProperty? { get }get intensity(): numberSwift declarationvar intensity: CGFloat { get set }set intensity(value: number)Swift declarationvar intensity: CGFloat { get set }get maximumShadowDistance(): numberSwift declarationvar maximumShadowDistance: CGFloat { get set }set maximumShadowDistance(value: number)Swift declarationvar maximumShadowDistance: CGFloat { get set }get name(): (string) | nullSwift declarationvar name: String? { get set }set name(value: (string) | null)Swift declarationvar name: String? { get set }get orthographicScale(): numberSwift declarationvar orthographicScale: CGFloat { get set }set orthographicScale(value: number)Swift declarationvar orthographicScale: CGFloat { get set }get parallaxCenterOffset(): SDKHandleSwift declarationvar parallaxCenterOffset: simd_float3 { get set }set parallaxCenterOffset(value: SDKHandle)Swift declarationvar parallaxCenterOffset: simd_float3 { get set }get parallaxCorrectionEnabled(): booleanSwift declarationvar parallaxCorrectionEnabled: Bool { get set }set parallaxCorrectionEnabled(value: boolean)Swift declarationvar parallaxCorrectionEnabled: Bool { get set }get parallaxExtentsFactor(): SDKHandleSwift declarationvar parallaxExtentsFactor: simd_float3 { get set }set parallaxExtentsFactor(value: SDKHandle)Swift declarationvar parallaxExtentsFactor: simd_float3 { get set }get probeEnvironment(): (SCNMaterialProperty) | nullSwift declarationvar probeEnvironment: SCNMaterialProperty? { get }get probeExtents(): SDKHandleSwift declarationvar probeExtents: simd_float3 { get set }set probeExtents(value: SDKHandle)Swift declarationvar probeExtents: simd_float3 { get set }get probeOffset(): SDKHandleSwift declarationvar probeOffset: simd_float3 { get set }set probeOffset(value: SDKHandle)Swift declarationvar probeOffset: simd_float3 { get set }get probeType(): SCNLightProbeTypeSwift declarationvar probeType: SCNLightProbeType { get set }set probeType(value: SCNLightProbeType)Swift declarationvar probeType: SCNLightProbeType { get set }get probeUpdateType(): SCNLightProbeUpdateTypeSwift declarationvar probeUpdateType: SCNLightProbeUpdateType { get set }set probeUpdateType(value: SCNLightProbeUpdateType)Swift declarationvar probeUpdateType: SCNLightProbeUpdateType { get set }get sampleDistributedShadowMaps(): booleanSwift declarationvar sampleDistributedShadowMaps: Bool { get set }set sampleDistributedShadowMaps(value: boolean)Swift declarationvar sampleDistributedShadowMaps: Bool { get set }get shadowBias(): numberSwift declarationvar shadowBias: CGFloat { get set }set shadowBias(value: number)Swift declarationvar shadowBias: CGFloat { get set }get shadowCascadeCount(): numberSwift declarationvar shadowCascadeCount: Int { get set }set shadowCascadeCount(value: number)Swift declarationvar shadowCascadeCount: Int { get set }get shadowCascadeSplittingFactor(): numberSwift declarationvar shadowCascadeSplittingFactor: CGFloat { get set }set shadowCascadeSplittingFactor(value: number)Swift declarationvar shadowCascadeSplittingFactor: CGFloat { get set }get shadowColor(): unknownSwift declarationvar shadowColor: Any { get set }set shadowColor(value: unknown)Swift declarationvar shadowColor: Any { get set }get shadowMapSize(): { width: number; height: number }Swift declarationvar shadowMapSize: CGSize { get set }set shadowMapSize(value: { width: number; height: number })Swift declarationvar shadowMapSize: CGSize { get set }get shadowMode(): SCNShadowModeSwift declarationvar shadowMode: SCNShadowMode { get set }set shadowMode(value: SCNShadowMode)Swift declarationvar shadowMode: SCNShadowMode { get set }get shadowRadius(): numberSwift declarationvar shadowRadius: CGFloat { get set }set shadowRadius(value: number)Swift declarationvar shadowRadius: CGFloat { get set }get shadowSampleCount(): numberSwift declarationvar shadowSampleCount: Int { get set }set shadowSampleCount(value: number)Swift declarationvar shadowSampleCount: Int { get set }get sphericalHarmonicsCoefficients(): ArrayBufferSwift declarationvar sphericalHarmonicsCoefficients: Data { get }get spotInnerAngle(): numberSwift declarationvar spotInnerAngle: CGFloat { get set }set spotInnerAngle(value: number)Swift declarationvar spotInnerAngle: CGFloat { get set }get spotOuterAngle(): numberSwift declarationvar spotOuterAngle: CGFloat { get set }set spotOuterAngle(value: number)Swift declarationvar spotOuterAngle: CGFloat { get set }get temperature(): numberSwift declarationvar temperature: CGFloat { get set }set temperature(value: number)Swift declarationvar temperature: CGFloat { get set }get type(): SCNLight_LightTypeSwift declarationvar type: SCNLight.LightType { get set }set type(value: SCNLight_LightType)Swift declarationvar type: SCNLight.LightType { get set }get zFar(): numberSwift declarationvar zFar: CGFloat { get set }set zFar(value: number)Swift declarationvar zFar: CGFloat { get set }get zNear(): numberSwift declarationvar zNear: CGFloat { get set }set zNear(value: number)Swift declarationvar zNear: CGFloat { get set }No declarations were skipped in this snapshot.