Skip to content

Resources

Adrien GIVRY edited this page Sep 26, 2020 · 3 revisions

Description

Some global resources functions

Variables

This usertype has no variables

Constructors

This usertype has no constructors

Functions

Name Input Output Description
GetModel string: path
Usertype Loads (If not already loaded) and returns the Model identified by the given path. Returns nil on failure
GetShader string: path
Usertype Loads (If not already loaded) and returns the Shader identified by the given path. Returns nil on failure
GetTexture string: path
Usertype Loads (If not already loaded) and returns the Texture identified by the given path. Returns nil on failure
GetMaterial string: path
Usertype Loads (If not already loaded) and returns the Material identified by the given path. Returns nil on failure
GetSound string: path
Usertype Loads (If not already loaded) and returns the Sound identified by the given path. Returns nil on failure

Operators

This usertype has no operators

Clone this wiki locally