Platforms to show: All Mac Windows Linux Cross-Platform

Back to SCNLightMBS class.

SCNLightMBS.light as SCNLightMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method SceneKit MBS Mac64bit Plugin 18.5 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
Creates a new light object.

SCNLightMBS.SCNLightTypeAmbient as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method SceneKit MBS Mac64bit Plugin 18.5 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
A light that illuminates all objects in the scene from all directions.

Because the intensity of light from an ambient source is the same everywhere in the scene, its position and direction have no effect. Attenuation, spotlight angle, and shadow attributes do not apply to ambient lights.

Some examples using this method:

SCNLightMBS.SCNLightTypeDirectional as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method SceneKit MBS Mac64bit Plugin 18.5 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
A light source with a uniform direction and constant intensity.

Because a directional light illuminates all objects in the scene from the same direction and with the same intensity, so the position of the node containing the light has no effect. Attenuation and spotlight angle attributes do not apply to directional lights.

SCNLightMBS.SCNLightTypeIES as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method SceneKit MBS Mac64bit Plugin 18.5 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
A light source whose shape, direction, and intensity of illumination is determined by a photometric profile.

The intensity of a photometric light varies in different directions from the light source, much like the illumination from a real-world light source. The position of the containing node determines the location of the light source, and the orientation of the node determines the relative directions specified by the photometric profile. Spotlight angle attributes do not apply to photometric lights.
For more information about photometric lights, see the IESProfileURL property.

SCNLightMBS.SCNLightTypeOmni as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method SceneKit MBS Mac64bit Plugin 18.5 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
An omnidirectional light, also known as a point light.

Because an omnidirectional light casts equal illumination in all directions, the orientation of the node containing the light has no effect. Spotlight angle and shadow attributes do not apply to directional lights.

Some examples using this method:

SCNLightMBS.SCNLightTypeProbe as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method SceneKit MBS Mac64bit Plugin 18.5 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
A sample of the environment around a point in a scene to be used in environment-based lighting.

A light probe describes a point in a scene in terms of the variations in color and intensity of the illumination it receives from all directions. This information can then be used in shading of materials based on their location in the scene. For example, a white object placed near blue and red walls will appear bluish on surfaces facing the blue wall and reddish on surfaces facing the red wall.
You can place light probes in a scene and generate their lighting contributions using the Xcode scene editor, or import light probes from scene file formats that support them. Lighting-related properties of the SCNLight class do not apply to light probes; their contribution to scene rendering depends entirely on the light probe content generated in Xcode.

SCNLightMBS.SCNLightTypeSpot as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method SceneKit MBS Mac64bit Plugin 18.5 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
A light source that illuminates a cone-shaped area.

The position and orientation of the node containing the light determines the area lit by the spotlight, and all lighting attributes affect its appearance.

Some examples using this method:

The items on this page are in the following plugins: MBS Mac64bit Plugin.


The biggest plugin in space...