Light | CraytaKit
Skip to main content



Property NameReturn TypeDescriptionTags
colorColorSet color of lightRead-Write
intensitynumberSet the intensity of lightRead-Write
innerAnglenumberSet the inner angle of a spot lightRead-Write
outerAnglenumberSet the outer angle of a spot lightRead-Write
attenuationnumberSet the attenuation of the lightRead-Write
exponentnumberSet the exponent of the lightRead-Write
specularbooleanSet whether the light is specular or notRead-Write
shadowsbooleanSet whether the light casts shadows or notRead-Write


© 2021 CraytaKit