setPosition
Dynamically update the light's position in world space. Ignored for directional lights.
Parameters
instance
Light instance
x
World X position
y
World Y position
z
World Z position
Dynamically update the light's position in world space. Ignored for directional lights.
Parameters
instance
Light instance
x
World X position
y
World Y position
z
World Z position
Dynamically update the light's position in world space. Ignored for directional lights.
Parameters
instance
Light instance
x
World X position
y
World Y position
z
World Z position
Dynamically update the light's position in world space. Ignored for directional lights.
Parameters
instance
Light instance
x
World X position
y
World Y position
z
World Z position
Dynamically update the light's position in world space. Ignored for directional lights.
Parameters
instance
Light instance
x
World X position
y
World Y position
z
World Z position