IScene3DTextureManager.PreviewImage

Syntax

PreviewImage(Index: Integer): IGxImage;

Parameters

Index - texture index.

Description

The PreviewImage property enables the user to work with a texture as an image.

Example

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

Sub Chart3D;
Var
    s : IScene3D;
Begin
    s.DisplayedObjects.TextureManager.PreviewImage(0).RotateFlip(GxRotate FlipType.RotateNoneFlipX);
End Sub Chart3D;

Executing the example displays a texture with the 0 index from left to right.

See also:

IScene3DTextureManager