setLightDirection method

  1. @override
Future setLightDirection(
  1. ThermionEntity lightEntity,
  2. Vector3 direction
)
override

Implementation

@override
Future setLightDirection(
  ThermionEntity lightEntity,
  Vector3 direction,
) async {
  direction.normalize();
  LightManager_setPosition(
    app.lightManager,
    lightEntity,
    direction.x,
    direction.y,
    direction.z,
  );
}