Download Now

    Reference TSkybox

    Declared in Codebot.Render.World.pas on line 55

    TSkybox is a texture mapped an inward facing cube use to simulate the background of 3D space. A skybox is provided by TWorld.
      TSkybox = class(TContextManagedObject)
      public
        { Skybox is create a TWorld }
        constructor Create;
        destructor Destroy; override;
        { Draw the skybox centered on zero }
        procedure Draw(Time: Double = 0); virtual;
        { The skybox texture }
        property Texture: TTexture read FTexture;
      end;

    See also

    TContextManagedObject in Codebot.Render.Contexts.pas
    TTexture in Codebot.Render.Textures.pas