Trade-offs and warnings
Consult the linked header for this operation’s ownership, lifetime and failure behavior.
EPOK RUNTIME
Method · 1 overload
Declarations are extracted from the pinned headers. Examples and general guidance are generated sketches, not verified complete programs; consult the linked source and guides for the actual contract.
Sets bias as part of the world2d tiles module.
void set_bias(int32_t buckets)Sets bias as part of the world2d tiles module.
| Parameter | Type | Meaning |
|---|---|---|
buckets | int32_t | Not documented; consult the linked header. |
Returns: Nothing (void).
#include "world2d_tiles.hpp"
// Assume these named values have been initialized with valid data:
// int32_t buckets
epok::Depth2DComponent& object = /* obtain a valid instance */;
object.set_bias(buckets);Consult the linked header for this operation’s ownership, lifetime and failure behavior.
Declared in runtime/world2d_tiles.hpp:384
~Depth2DComponentReleases the resources owned by `epok::Depth2DComponent`.destructorclass_idPerforms `class id` as part of the world2d tiles module.Methodget_anchorReturns anchor as part of the world2d tiles module.Methodget_biasReturns bias as part of the world2d tiles module.Methodget_distanceReturns distance as part of the world2d tiles module.Methodis_enabledReports whether enabled as part of the world2d tiles module.Methodlevel_attachedPerforms `level attached` as part of the world2d tiles module.Methodset_anchorA 3D actor whose position gives the depth; an empty id returns to `distance`.Methodset_distanceWorld units in front of the 3D camera, 0 to 128 (the far end of the ordering table).Methodset_enabledSets enabled as part of the world2d tiles module.Method