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 (Rectangle, Int32, Int32)

gradient

Sets the Normalized Texture Coordinates using the absolute (i.e. non-normalized) top-left coordinate and the dimensions of the Picture in the Texture

Namespace: DPSF

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

collapse_allSyntax

C#

public void SetTextureCoordinates(

 Rectangle sTextureCoordinates,

 int iTextureWidth,

 int iTextureHeight

)

Visual Basic

Public Sub SetTextureCoordinates (

 sTextureCoordinates As Rectangle,

 iTextureWidth As Integer,

 iTextureHeight As Integer

)

Visual C++

public:

void SetTextureCoordinates(

 Rectangle sTextureCoordinates,

 int iTextureWidth,

 int iTextureHeight

)

Parameters

sTextureCoordinates

Type: Rectangle

The top-left Position and the Dimensions 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