SiliconGhetto Engine API
    Preparing search index...

    Function setTexture

    • Assign a loaded texture to an entity's sprite.

      Parameters

      • e: number

        The entity ID

      • textureId: string

        The texture ID previously loaded with loadTexture

      Returns void