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
IDPSFParticleSystem
.
.
::
..SetCameraPosition Method
gradient

Sets the Camera Position of the particle system, so that the particles know how to make themselves face the camera if needed. This virtual function does not do anything unless overridden, and all it should do is set an internal Vector3 variable (e.g. public Vector3 CameraPosition { get; set; }) to match the given Vector3.

Namespace: DPSF

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

collapse_allSyntax

C#

void SetCameraPosition(

 Vector3 cameraPosition

)

Visual Basic

Sub SetCameraPosition (

 cameraPosition As Vector3

)

Visual C++

void SetCameraPosition(

 Vector3 cameraPosition

)

Parameters

cameraPosition

Type: Vector3

The position that the camera is currently at.

collapse_allSee Also

IDPSFParticleSystem Interface

IDPSFParticleSystem Members

DPSF Namespace

footer

Send comments on this topic to
Dan@DansKingdom.com