function
default_fn(_data, _index)
The default function used in BBMOD_DynamicBatch.render_object. Uses instance's variables x
, y
, z
for position, image_xscale
for uniform scale and image_angle
for rotation around the z
axis.
Name | Type | Description |
---|---|---|
_data | Array<Real> |
An array to which the function will write instance data. The data layout is compatible with shader BBMOD_ShDefaultBatched and hence with material BBMOD_MATERIAL_DEFAULT_BATCHED. |
_index | Real |
An index at which the first variable will be written. |
Real
Number of slots it has written to. Always equals 8.
BBMOD_DynamicBatch.render_object, BBMOD_DynamicBatch.submit_object
Copyright © 2022, BlueBurn. Built on May 16, 2022 using GMDoc.