EPOK RUNTIME
epok::SceneComponent3D
Class
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.
Class
Class declared by the object-model module for the object model module.
Basic usage
This generated sketch illustrates syntax for reaching the type; adapt it to the actual API contract. Open a member below for an operation-specific example.
C++ example
#include "object_model.hpp"
epok::SceneComponent3D& value = /* obtain a valid instance from your game */;Fields and constants
attach_parentExposes `attach_parent` on `epok::SceneComponent3D` for the object model module.FieldlocalExposes `local` on `epok::SceneComponent3D` for the object model module.Fieldstatic_class_idExposes `static_class_id` on `epok::SceneComponent3D` for the object model module.VariabletransformView over the canonical slot transform when the owner is backed by a legacy entity.FieldPublic methods
attach_slotPerforms `attach slot` as part of the object model module.Methodattach_toPerforms `attach to` as part of the object model module.Methodbind_localNo legacy slot: the component owns the transform.Methodbind_slotCanonical storage: the legacy entity slot owns the transform and everything that already reads it (collision, rendering, motion interpolation) keeps working.Methodclass_idPerforms `class id` as part of the object model module.Methodentity_slotPerforms `entity slot` as part of the object model module.Methodlocal_transformPerforms `local transform` as part of the object model module.Methodset_local_positionSets local position as part of the object model module.Methodset_local_rotationSets local rotation as part of the object model module.Methodset_local_scaleSets local scale as part of the object model module.Methodset_local_transformSets local transform as part of the object model module.MethodteleportPerforms `teleport` as part of the object model module.Methodworld_affinePerforms `world affine` as part of the object model module.Method