Skip to content

PenguinImportScripts

Michael edited this page Feb 3, 2023 · 3 revisions

This is the function that you would use to load a collection of vertex buffers from Penguin.

This is still a work in progress and will (probably) be updated as time goes on.

penguin_load(filename, vertex_format, [freeze])

Returns: struct of <Penguin>

Parameter Type Description
filename string The path to the file that you would like to load
vertex_format vertex format The vertex format that you would like to load the vertex buffers with
freeze boolean Optional; defaults to true. Freeze the vertex buffers?

Load a collection of vertex buffers from an exported .derg files. Returns a struct containing Penguin objects, identified by their names in the editor. Duplicate names will have a number appended to the end to make them unique.

Clone this wiki locally