EPOK RUNTIME
epok::SceneComponent3D
Class
Class
Class declared by the object-model module for the object model module.
Basic usage
This minimal snippet shows the normal syntax for reaching the type. 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.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.Method