IScene3DDisplayedObjects.TextureManager

Syntax

TextureManager: IScene3DTextureManager;

Description

The TextureManager property enables the user to work with textures.

Example

This example assumes that there is the S object of the IScene3D type.

Sub Chart3D;

Var

s : IScene3D;

Begin

s.DisplayedObjects.TextureManager.LoadFromFile("c:\1.bmp");

s.DisplayedObjects.CoordinatePlanes.BackPlane.Plane.BitmapIndex := 0;

End Sub Chart3D;

After executing the example scene background is filled with the texture loaded from file.

See also:

IScene3DDisplayedObjects