add_light_ffi function
- @Native<Void Function(Pointer<Void>, Uint8, Float, Float, Float, Float, Float, Float, Float, Float, Float, Float, Float, Float, Float, Float, Bool, Pointer<NativeFunction<Void Function(EntityId)>>)>(ffi.Pointer<ffi.Void>, ffi.Uint8, ffi.Float, ffi.Float, ffi.Float, ffi.Float, ffi.Float, ffi.Float, ffi.Float, ffi.Float, ffi.Float, ffi.Float, ffi.Float, ffi.Float, ffi.Float, ffi.Float, ffi.Bool, ffi.Pointer<ffi.NativeFunction<ffi.Void Function(EntityId)>>)>()
void
add_light_ffi(
- Pointer<Void> viewer,
- int type,
- double colour,
- double intensity,
- double posX,
- double posY,
- double posZ,
- double dirX,
- double dirY,
- double dirZ,
- double falloffRadius,
- double spotLightConeInner,
- double spotLightConeOuter,
- double sunAngularRadius,
- double sunHaloSize,
- double sunHaloFallof,
- bool shadows,
- Pointer<NativeFunction<Void Function(EntityId)>> callback,
)
Implementation
@ffi.Native<
ffi.Void Function(
ffi.Pointer<ffi.Void>,
ffi.Uint8,
ffi.Float,
ffi.Float,
ffi.Float,
ffi.Float,
ffi.Float,
ffi.Float,
ffi.Float,
ffi.Float,
ffi.Float,
ffi.Float,
ffi.Float,
ffi.Float,
ffi.Float,
ffi.Float,
ffi.Bool,
ffi.Pointer<ffi.NativeFunction<ffi.Void Function(EntityId)>>)>()
external void add_light_ffi(
ffi.Pointer<ffi.Void> viewer,
int type,
double colour,
double intensity,
double posX,
double posY,
double posZ,
double dirX,
double dirY,
double dirZ,
double falloffRadius,
double spotLightConeInner,
double spotLightConeOuter,
double sunAngularRadius,
double sunHaloSize,
double sunHaloFallof,
bool shadows,
ffi.Pointer<ffi.NativeFunction<ffi.Void Function(EntityId)>> callback,
);