IScene3DPrimitive.BitmapIndex

Syntax

BitmapIndex: Integer;

Description

The BitmapIndex property specifies index of an image, contained in the IScene3DTextureManager texture collection.

Default property value is -1, that is the texture is undefined.

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:

IScene3DPrimitive

IScene3DTextureManager