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:
- sk_definition_writer.RawType model
- 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:
- node_with_name (name)
-
Returns a node with the given name
Parameters:
- name string
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