RSX Code Reference
    Preparing search index...
    • rsx
    • BuiltinResources

    Class BuiltinResources

    Holds references to built-in resources used by the core engine.

    Index
    • get defaultFont(): Font

      Returns the default font used by the engine.

      Returns Font

    • get emojiFont(): Font

      Returns the Emoji fallback font.

      Returns Font

    • Returns the default application icon.

      Returns Image

    • Returns the application icon used in the main menu.

      Returns Image

    • Returns an Image that represents the given Emoji. The code is the UTF32 representation of the emoji.

      Parameters

      • emojiCode: number

      Returns Image

    • Get a bultin gizmo mesh.

      Parameters

      • gizmoMeshFilename: string

      Returns Mesh

    • Retrieves one of the built in shapes.

      Parameters

      • shapeName: string

      Returns Shape

    • Returns the builtin font icon for the given style.

      Returns Font

    • Returns a Image for the at the requested in pixels. Uses the default style for the icon.

      Parameters

      Returns Image

    • Retrieves a builtin texture from it's filename.

      Parameters

      • textureFilename: string

      Returns Texture

    • Precompiles all built-in shaders.

      Parameters

      • onProgress: (arg0: number) => void
      • onFinalize: () => void

      Returns void

    • Reimports UISkin raw json file and applies changes immediately.

      Returns void