RSX Code Reference
    Preparing search index...

    Class EditorBuiltin

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

    Index
    • get defaultFont(): Font

      Returns the default font used by the editor.

      Returns Font

    • get proceduralSpriteAnimationPreloadFPS(): number

      Returns the framerate that the procedural sprite animation cache is initialized with when the builtin animations are preloaded.

      Returns number

    • Gets the RSX logo shape.

      Returns Shape

    • get uiSkin(): UISkin

      Returns the default editor UI skin.

      Returns UISkin

    • 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

    • Returns the builtin font icon for the given style.

      Returns Font

    • Retrieves a builtin texture from it's filename.

      Parameters

      • textureFilename: string

        The filename of the texture.

      Returns Texture

    • Returns void