setDirection

actual fun setDirection(instance: EntityInstance, x: Float, y: Float, z: Float)

Dynamically update the light's direction in world space. Ignored for point lights. Should be a unit vector.

Parameters

instance

Light instance

x

World direction X

y

World direction Y

z

World direction Z

expect fun setDirection(instance: EntityInstance, x: Float, y: Float, z: Float)

Dynamically update the light's direction in world space. Ignored for point lights. Should be a unit vector.

Parameters

instance

Light instance

x

World direction X

y

World direction Y

z

World direction Z

actual fun setDirection(instance: EntityInstance, x: Float, y: Float, z: Float)

Dynamically update the light's direction in world space. Ignored for point lights. Should be a unit vector.

Parameters

instance

Light instance

x

World direction X

y

World direction Y

z

World direction Z

actual fun setDirection(instance: EntityInstance, x: Float, y: Float, z: Float)

Dynamically update the light's direction in world space. Ignored for point lights. Should be a unit vector.

Parameters

instance

Light instance

x

World direction X

y

World direction Y

z

World direction Z

actual fun setDirection(instance: EntityInstance, x: Float, y: Float, z: Float)

Dynamically update the light's direction in world space. Ignored for point lights. Should be a unit vector.

Parameters

instance

Light instance

x

World direction X

y

World direction Y

z

World direction Z