Skip to content

Latest commit

 

History

History
57 lines (33 loc) · 1.27 KB

Types.md

File metadata and controls

57 lines (33 loc) · 1.27 KB

retro-engine / Exports / Types

Class: Types

The types are used by the editor to determine how to parse and stringify arguments. These should be provided in each script (whether that be a component/system/shader/entity) in the arg_types static property.

Table of contents

Properties

Properties

Boolean

Static Boolean: BoolType
Represents a boolean type.

Defined in

src/argTypes.ts:54


File

Static File: FileType
Represents a file type, which takes a path relative to the project root.

Defined in

src/argTypes.ts:55


Number

Static Number: NumberType Represents a number type.

Defined in

src/argTypes.ts:53


String

Static String: StringType Represents a string type.

Defined in

src/argTypes.ts:52