DisplayTexturePreview Data Member Function

Displays a texture on the rendering device, in the specified viewport.

Prototype

int32 DisplayTexturePreview( Texture PreviewTexture, int32 Left, int32 Top, int32 Width, int32 Height )

Parameters

Parameter Type Parameter Name Documentation
<Texture>PreviewTextureThe texture to display.
int32LeftThe left x-coordinate of the preview display viewport.
int32TopThe top y-coordinate of the preview display viewport.
int32WidthThe width of the preview display viewport.
int32HeightThe height of the preview display viewport.

Examples

Copy Text To Clipboard

None published. Please look for an example in the Scenome Scripting Language code base.