SyncDimensions Data Member Function

Sets the <Texture> object's source width, source height, render width, and render height parameters to the width and height values submitted to this function.

Prototype

int32 SyncDimensions( int32 p_nWidth, int32 p_nHeight )

Parameters

Parameter Type Parameter Name Documentation
int32p_nWidthAn <int32> representing the width in pixels to set as the source width and render width.
int32p_nHeightAn <int32> representing the height in pixels to set as the source height and render height.

Examples

Copy Text To Clipboard

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