DefaultQuadParticle.ScaleToWidth Method
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
DefaultQuadParticle
.
.
::
..ScaleToWidth Method
gradient

Updates the Width to the given value and uniformly scales the Height to maintain the width-to-height ratio.

Namespace: DPSF

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

collapse_allSyntax

C#

public void ScaleToWidth(

 float newWidth

)

Visual Basic

Public Sub ScaleToWidth (

 newWidth As Single

)

Visual C++

public:

void ScaleToWidth(

 float newWidth

)

Parameters

newWidth

Type: System..::..Single

The Width the particle should have.

collapse_allSee Also

DefaultQuadParticle Class

DefaultQuadParticle Members

DPSF Namespace

footer

Send comments on this topic to
Dan@DansKingdom.com