Kemena3D
Loading...
Searching...
No Matches
kemena::kScript Struct Reference
module nullptr

Per-object script component descriptor. More...

#include <kscriptmanager.h>

Public Attributes

kString uuid
 UUID of this attachment (unique per object+slot).
kString scriptUuid
 UUID of the referenced script asset.
kString fileName
 Source file path (editor convenience / fallback).
kString checksum
 Source checksum recorded at last compile.
bool isActive = true
 Whether this script runs each frame.

Detailed Description

Per-object script component descriptor.

This is the lightweight, serialisable record stored on a kObject. It only references a script asset by UUID — the live compiled module is owned by kScriptManager and looked up via uuid (the component UUID).

Member Data Documentation

◆ checksum

kString kemena::kScript::checksum

Source checksum recorded at last compile.

◆ fileName

kString kemena::kScript::fileName

Source file path (editor convenience / fallback).

◆ isActive

bool kemena::kScript::isActive = true

Whether this script runs each frame.

◆ scriptUuid

kString kemena::kScript::scriptUuid

UUID of the referenced script asset.

◆ uuid

kString kemena::kScript::uuid

UUID of this attachment (unique per object+slot).


The documentation for this struct was generated from the following file: