Module sk_scene

Functions

export_default_mesh () Generates mesh and animation data from the current scene
nodes_for_type (prefix) Returns a list of nodes with the given string prefix
node_with_name (name) Returns a node with the given name

Tables

Node A scene node
NodeWithArguments A pairing of nodes and pre parsed node arguments


Functions

export_default_mesh ()
Generates mesh and animation data from the current scene

Returns:

  1. sk_definition_writer.RawType model
  2. sk_definition_writer.RawType material
nodes_for_type (prefix)
Returns a list of nodes with the given string prefix

Parameters:

  • prefix string the string prefix to search

Returns:

    NodeWithArguments
node_with_name (name)
Returns a node with the given name

Parameters:

Returns:

    Node result

Tables

Node
A scene node

Fields:

  • name string
  • transformation sk_transform.Transform
  • full_transformation sk_transform.Transform
  • parent Node
  • children {Node,...}
  • meshes {LuaMesh.Mesh,...}
NodeWithArguments
A pairing of nodes and pre parsed node arguments

Fields:

  • node Node
  • arguments {string,...} the list is strings produced by splitting the node name by spaces
generated by LDoc 1.4.6 Last updated 2022-12-18 19:38:08