Class EditorBuiltin

Contains a set of built-in resources used by the editor.

Constructors

Accessors

  • get defaultFont(): Font
  • Returns the default font used by the editor.

    Returns Font

  • get rsxLogo(): Shape
  • Gets the RSX logo shape.

    Returns Shape

  • get uiSkin(): UISkin
  • Returns the default editor UI skin.

    Returns UISkin

Methods

  • Returns text contained in the default "empty" shader.

    Parameters

    Returns Shader

  • Returns draft TypeScript Component source code.

    Parameters

    • filename: string
    • project: string
    • author: string
    • company: string
    • date: string

    Returns string

  • Returns draft TypeScript Editor Plugin source code.

    Parameters

    • filename: string
    • project: string
    • author: string
    • company: string
    • date: string

    Returns string

  • Retrieves a builtin gizmo mesh from it's filename.

    Parameters

    • gizmoMeshFilename: string

      The filename of the mesh.

    Returns Mesh

  • Retrieves a builtin texture from it's filename.

    Parameters

    • textureFilename: string

      The filename of the texture.

    Returns Texture

  • Returns void