collapse_all
expand_all

collapse_allexpand_alldropdowndropdownHovercopycodecopycodeHighlight

collapse_all Collapse AllExpand All     dropdown Code: All Code: Multiple Code: C# Code: Visual Basic Code: Visual C++

[TCheckBoxFormControlObj]C#

[TCheckBoxFormControlObj]Visual Basic

[TCheckBoxFormControlObj]
Visual C++

DPSF API Documentation
DefaultTextureQuadTextureCoordinatesParticle
.
.
::
..SetTextureCoordinates Method (Int32, Int32, Int32, Int32, Int32, Int32)
gradient

Sets the Normalized Texture Coordinates using the absolute (i.e. non-normalized) coordinates of the Picture in the Texture

Namespace: DPSF

Assembly: DPSF (in DPSF.dll) Version: 2.5.0.0

collapse_allSyntax

C#

public void SetTextureCoordinates(

 int iLeft,

 int iTop,

 int iRight,

 int iBottom,

 int iTextureWidth,

 int iTextureHeight

)

Visual Basic

Public Sub SetTextureCoordinates (

 iLeft As Integer,

 iTop As Integer,

 iRight As Integer,

 iBottom As Integer,

 iTextureWidth As Integer,

 iTextureHeight As Integer

)

Visual C++

public:

void SetTextureCoordinates(

 int iLeft,

 int iTop,

 int iRight,

 int iBottom,

 int iTextureWidth,

 int iTextureHeight

)

Parameters

iLeft

Type: System..::..Int32

The X position of the top-left corner of the Picture in the Texture

iTop

Type: System..::..Int32

The Y position of the top-left corner of the Picture in the Texture

iRight

Type: System..::..Int32

The X position of the bottom-right corner of the Picture in the Texture

iBottom

Type: System..::..Int32

The Y position of the bottom-right corner of the Picture in the Texture

iTextureWidth

Type: System..::..Int32

The Width of the Texture that the Picture is in

iTextureHeight

Type: System..::..Int32

The Height of the Texture that the Picture is in

collapse_allSee Also

DefaultTextureQuadTextureCoordinatesParticle Class

DefaultTextureQuadTextureCoordinatesParticle Members

SetTextureCoordinates Overload

DPSF Namespace

footer

Send comments on this topic to

Dan@DansKingdom.com