One Logo Pool Ball
SceneKit · IOS API REFERENCE

SCNLight

class · SDK 27.1

class SCNLight

Members (84)

init

init

TypeScript
static init(): SCNLight
Swift declaration
init()
get · iOS 10.0+

iesProfileURL

TypeScript
get iesProfileURL(): (string) | null
Swift declaration
var iesProfileURL: URL? { get set }
set · iOS 10.0+

iesProfileURL

TypeScript
set iesProfileURL(value: (string) | null)
Swift declaration
var iesProfileURL: URL? { get set }
get · iOS 13.0+

areaExtents

TypeScript
get areaExtents(): SDKHandle
Swift declaration
var areaExtents: simd_float3 { get set }
set · iOS 13.0+

areaExtents

TypeScript
set areaExtents(value: SDKHandle)
Swift declaration
var areaExtents: simd_float3 { get set }
get · iOS 13.0+

areaPolygonVertices

TypeScript
get areaPolygonVertices(): (Array<_Foundation_NSValue>) | null
Swift declaration
var areaPolygonVertices: [NSValue]? { get set }
set · iOS 13.0+

areaPolygonVertices

TypeScript
set areaPolygonVertices(value: (Array<_Foundation_NSValue>) | null)
Swift declaration
var areaPolygonVertices: [NSValue]? { get set }
get · iOS 13.0+

areaType

TypeScript
get areaType(): SCNLightAreaType
Swift declaration
var areaType: SCNLightAreaType { get set }
set · iOS 13.0+

areaType

TypeScript
set areaType(value: SCNLightAreaType)
Swift declaration
var areaType: SCNLightAreaType { get set }
get

attenuationEndDistance

TypeScript
get attenuationEndDistance(): number
Swift declaration
var attenuationEndDistance: CGFloat { get set }
set

attenuationEndDistance

TypeScript
set attenuationEndDistance(value: number)
Swift declaration
var attenuationEndDistance: CGFloat { get set }
get

attenuationFalloffExponent

TypeScript
get attenuationFalloffExponent(): number
Swift declaration
var attenuationFalloffExponent: CGFloat { get set }
set

attenuationFalloffExponent

TypeScript
set attenuationFalloffExponent(value: number)
Swift declaration
var attenuationFalloffExponent: CGFloat { get set }
get

attenuationStartDistance

TypeScript
get attenuationStartDistance(): number
Swift declaration
var attenuationStartDistance: CGFloat { get set }
set

attenuationStartDistance

TypeScript
set attenuationStartDistance(value: number)
Swift declaration
var attenuationStartDistance: CGFloat { get set }
get · iOS 11.0+

automaticallyAdjustsShadowProjection

TypeScript
get automaticallyAdjustsShadowProjection(): boolean
Swift declaration
var automaticallyAdjustsShadowProjection: Bool { get set }
set · iOS 11.0+

automaticallyAdjustsShadowProjection

TypeScript
set automaticallyAdjustsShadowProjection(value: boolean)
Swift declaration
var automaticallyAdjustsShadowProjection: Bool { get set }
get

castsShadow

TypeScript
get castsShadow(): boolean
Swift declaration
var castsShadow: Bool { get set }
set

castsShadow

TypeScript
set castsShadow(value: boolean)
Swift declaration
var castsShadow: Bool { get set }
get

categoryBitMask

TypeScript
get categoryBitMask(): number
Swift declaration
var categoryBitMask: Int { get set }
set

categoryBitMask

TypeScript
set categoryBitMask(value: number)
Swift declaration
var categoryBitMask: Int { get set }
get

color

TypeScript
get color(): unknown
Swift declaration
var color: Any { get set }
set

color

TypeScript
set color(value: unknown)
Swift declaration
var color: Any { get set }
get · iOS 13.0+

doubleSided

TypeScript
get doubleSided(): boolean
Swift declaration
var doubleSided: Bool { get set }
set · iOS 13.0+

doubleSided

TypeScript
set doubleSided(value: boolean)
Swift declaration
var doubleSided: Bool { get set }
get · iOS 13.0+

drawsArea

TypeScript
get drawsArea(): boolean
Swift declaration
var drawsArea: Bool { get set }
set · iOS 13.0+

drawsArea

TypeScript
set drawsArea(value: boolean)
Swift declaration
var drawsArea: Bool { get set }
get · iOS 11.0+

forcesBackFaceCasters

TypeScript
get forcesBackFaceCasters(): boolean
Swift declaration
var forcesBackFaceCasters: Bool { get set }
set · iOS 11.0+

forcesBackFaceCasters

TypeScript
set forcesBackFaceCasters(value: boolean)
Swift declaration
var forcesBackFaceCasters: Bool { get set }
get

gobo

TypeScript
get gobo(): (SCNMaterialProperty) | null
Swift declaration
var gobo: SCNMaterialProperty? { get }
get · iOS 10.0+

intensity

TypeScript
get intensity(): number
Swift declaration
var intensity: CGFloat { get set }
set · iOS 10.0+

intensity

TypeScript
set intensity(value: number)
Swift declaration
var intensity: CGFloat { get set }
get · iOS 11.0+

maximumShadowDistance

TypeScript
get maximumShadowDistance(): number
Swift declaration
var maximumShadowDistance: CGFloat { get set }
set · iOS 11.0+

maximumShadowDistance

TypeScript
set maximumShadowDistance(value: number)
Swift declaration
var maximumShadowDistance: CGFloat { get set }
get

name

TypeScript
get name(): (string) | null
Swift declaration
var name: String? { get set }
set

name

TypeScript
set name(value: (string) | null)
Swift declaration
var name: String? { get set }
get

orthographicScale

TypeScript
get orthographicScale(): number
Swift declaration
var orthographicScale: CGFloat { get set }
set

orthographicScale

TypeScript
set orthographicScale(value: number)
Swift declaration
var orthographicScale: CGFloat { get set }
get · iOS 13.0+

parallaxCenterOffset

TypeScript
get parallaxCenterOffset(): SDKHandle
Swift declaration
var parallaxCenterOffset: simd_float3 { get set }
set · iOS 13.0+

parallaxCenterOffset

TypeScript
set parallaxCenterOffset(value: SDKHandle)
Swift declaration
var parallaxCenterOffset: simd_float3 { get set }
get · iOS 13.0+

parallaxCorrectionEnabled

TypeScript
get parallaxCorrectionEnabled(): boolean
Swift declaration
var parallaxCorrectionEnabled: Bool { get set }
set · iOS 13.0+

parallaxCorrectionEnabled

TypeScript
set parallaxCorrectionEnabled(value: boolean)
Swift declaration
var parallaxCorrectionEnabled: Bool { get set }
get · iOS 13.0+

parallaxExtentsFactor

TypeScript
get parallaxExtentsFactor(): SDKHandle
Swift declaration
var parallaxExtentsFactor: simd_float3 { get set }
set · iOS 13.0+

parallaxExtentsFactor

TypeScript
set parallaxExtentsFactor(value: SDKHandle)
Swift declaration
var parallaxExtentsFactor: simd_float3 { get set }
get · iOS 12.0+

probeEnvironment

TypeScript
get probeEnvironment(): (SCNMaterialProperty) | null
Swift declaration
var probeEnvironment: SCNMaterialProperty? { get }
get · iOS 13.0+

probeExtents

TypeScript
get probeExtents(): SDKHandle
Swift declaration
var probeExtents: simd_float3 { get set }
set · iOS 13.0+

probeExtents

TypeScript
set probeExtents(value: SDKHandle)
Swift declaration
var probeExtents: simd_float3 { get set }
get · iOS 13.0+

probeOffset

TypeScript
get probeOffset(): SDKHandle
Swift declaration
var probeOffset: simd_float3 { get set }
set · iOS 13.0+

probeOffset

TypeScript
set probeOffset(value: SDKHandle)
Swift declaration
var probeOffset: simd_float3 { get set }
get · iOS 13.0+

probeType

TypeScript
get probeType(): SCNLightProbeType
Swift declaration
var probeType: SCNLightProbeType { get set }
set · iOS 13.0+

probeType

TypeScript
set probeType(value: SCNLightProbeType)
Swift declaration
var probeType: SCNLightProbeType { get set }
get · iOS 13.0+

probeUpdateType

TypeScript
get probeUpdateType(): SCNLightProbeUpdateType
Swift declaration
var probeUpdateType: SCNLightProbeUpdateType { get set }
set · iOS 13.0+

probeUpdateType

TypeScript
set probeUpdateType(value: SCNLightProbeUpdateType)
Swift declaration
var probeUpdateType: SCNLightProbeUpdateType { get set }
get · iOS 11.0+

sampleDistributedShadowMaps

TypeScript
get sampleDistributedShadowMaps(): boolean
Swift declaration
var sampleDistributedShadowMaps: Bool { get set }
set · iOS 11.0+

sampleDistributedShadowMaps

TypeScript
set sampleDistributedShadowMaps(value: boolean)
Swift declaration
var sampleDistributedShadowMaps: Bool { get set }
get

shadowBias

TypeScript
get shadowBias(): number
Swift declaration
var shadowBias: CGFloat { get set }
set

shadowBias

TypeScript
set shadowBias(value: number)
Swift declaration
var shadowBias: CGFloat { get set }
get · iOS 11.0+

shadowCascadeCount

TypeScript
get shadowCascadeCount(): number
Swift declaration
var shadowCascadeCount: Int { get set }
set · iOS 11.0+

shadowCascadeCount

TypeScript
set shadowCascadeCount(value: number)
Swift declaration
var shadowCascadeCount: Int { get set }
get · iOS 11.0+

shadowCascadeSplittingFactor

TypeScript
get shadowCascadeSplittingFactor(): number
Swift declaration
var shadowCascadeSplittingFactor: CGFloat { get set }
set · iOS 11.0+

shadowCascadeSplittingFactor

TypeScript
set shadowCascadeSplittingFactor(value: number)
Swift declaration
var shadowCascadeSplittingFactor: CGFloat { get set }
get

shadowColor

TypeScript
get shadowColor(): unknown
Swift declaration
var shadowColor: Any { get set }
set

shadowColor

TypeScript
set shadowColor(value: unknown)
Swift declaration
var shadowColor: Any { get set }
get

shadowMapSize

TypeScript
get shadowMapSize(): { width: number; height: number }
Swift declaration
var shadowMapSize: CGSize { get set }
set

shadowMapSize

TypeScript
set shadowMapSize(value: { width: number; height: number })
Swift declaration
var shadowMapSize: CGSize { get set }
get

shadowMode

TypeScript
get shadowMode(): SCNShadowMode
Swift declaration
var shadowMode: SCNShadowMode { get set }
set

shadowMode

TypeScript
set shadowMode(value: SCNShadowMode)
Swift declaration
var shadowMode: SCNShadowMode { get set }
get

shadowRadius

TypeScript
get shadowRadius(): number
Swift declaration
var shadowRadius: CGFloat { get set }
set

shadowRadius

TypeScript
set shadowRadius(value: number)
Swift declaration
var shadowRadius: CGFloat { get set }
get

shadowSampleCount

TypeScript
get shadowSampleCount(): number
Swift declaration
var shadowSampleCount: Int { get set }
set

shadowSampleCount

TypeScript
set shadowSampleCount(value: number)
Swift declaration
var shadowSampleCount: Int { get set }
get · iOS 11.0+

sphericalHarmonicsCoefficients

TypeScript
get sphericalHarmonicsCoefficients(): ArrayBuffer
Swift declaration
var sphericalHarmonicsCoefficients: Data { get }
get

spotInnerAngle

TypeScript
get spotInnerAngle(): number
Swift declaration
var spotInnerAngle: CGFloat { get set }
set

spotInnerAngle

TypeScript
set spotInnerAngle(value: number)
Swift declaration
var spotInnerAngle: CGFloat { get set }
get

spotOuterAngle

TypeScript
get spotOuterAngle(): number
Swift declaration
var spotOuterAngle: CGFloat { get set }
set

spotOuterAngle

TypeScript
set spotOuterAngle(value: number)
Swift declaration
var spotOuterAngle: CGFloat { get set }
get · iOS 10.0+

temperature

TypeScript
get temperature(): number
Swift declaration
var temperature: CGFloat { get set }
set · iOS 10.0+

temperature

TypeScript
set temperature(value: number)
Swift declaration
var temperature: CGFloat { get set }
get

type

TypeScript
get type(): SCNLight_LightType
Swift declaration
var type: SCNLight.LightType { get set }
set

type

TypeScript
set type(value: SCNLight_LightType)
Swift declaration
var type: SCNLight.LightType { get set }
get

zFar

TypeScript
get zFar(): number
Swift declaration
var zFar: CGFloat { get set }
set

zFar

TypeScript
set zFar(value: number)
Swift declaration
var zFar: CGFloat { get set }
get

zNear

TypeScript
get zNear(): number
Swift declaration
var zNear: CGFloat { get set }
set

zNear

TypeScript
set zNear(value: number)
Swift declaration
var zNear: CGFloat { get set }

Skipped declarations

No declarations were skipped in this snapshot.

All SceneKit types →