@huukhanhnguyen/model / schema/vocabulary/cameras
schema/vocabulary/cameras
CameraMethod
CameraMethod = keyof typeof
CAMERA_METHODS
CameraNode
CameraNode =
LaneNode<CameraMethod>
One cameras[] entry (lane node — not the viewport live CameraSchema). The record spine lives in @huukhanhnguyen/types (modelDocument.ts), generic in the method vocabulary; bound here to this lane's runtime method table.
CAMERA_METHOD_NAMES
constCAMERA_METHOD_NAMES:string[]
CAMERA_METHOD_SET
constCAMERA_METHOD_SET:ReadonlySet<string>
CAMERA_METHODS
constCAMERA_METHODS:MethodTable
cameraArgInput()
cameraArgInput(
node,key):string|undefined
Read an arg's expression string (undefined when absent or empty).
Parameters
node
key
string
Returns
string | undefined
setCameraArg()
setCameraArg(
node,key,input):void
Write/clear an arg on a camera node (mutates in place). Empty clears.
Parameters
node
key
string
input
string
Returns
void
CameraArgDef
Renames and re-exports NodeArgEntry