C# 클래스 Particles2D.Models.Particle

파일 보기 프로젝트 열기: juanpaexpedite/MasterDetailsComposition 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
OrientationX float
OrientationY float
Radius float
TurbulenceMatrix Matrix3x2
X float
Y float
factor float
particleBitmap int
random float

공개 메소드들

메소드 설명
Draw ( Microsoft.Graphics.Canvas.CanvasDrawingSession session ) : void
Particle ( int x, int y, int idxBitmap, float orientationx, float orientationy, CanvasRenderTarget source, float particlespeed = 0.25f, bool particlefall = false ) : System
Update ( float elapsedTime, Size bounds ) : void

비공개 메소드들

메소드 설명
CheckBounds ( Size bounds ) : void
UpdatePosition ( ) : void
UpdateTurbulence ( float elapsedTime ) : void

메소드 상세

Draw() 공개 메소드

public Draw ( Microsoft.Graphics.Canvas.CanvasDrawingSession session ) : void
session Microsoft.Graphics.Canvas.CanvasDrawingSession
리턴 void

Particle() 공개 메소드

public Particle ( int x, int y, int idxBitmap, float orientationx, float orientationy, CanvasRenderTarget source, float particlespeed = 0.25f, bool particlefall = false ) : System
x int
y int
idxBitmap int
orientationx float
orientationy float
source CanvasRenderTarget
particlespeed float
particlefall bool
리턴 System

Update() 공개 메소드

public Update ( float elapsedTime, Size bounds ) : void
elapsedTime float
bounds Windows.Foundation.Size
리턴 void

프로퍼티 상세

OrientationX 공개적으로 프로퍼티

public float OrientationX
리턴 float

OrientationY 공개적으로 프로퍼티

public float OrientationY
리턴 float

Radius 공개적으로 프로퍼티

public float Radius
리턴 float

TurbulenceMatrix 공개적으로 프로퍼티

public Matrix3x2 TurbulenceMatrix
리턴 Matrix3x2

X 공개적으로 프로퍼티

public float X
리턴 float

Y 공개적으로 프로퍼티

public float Y
리턴 float

factor 공개적으로 프로퍼티

public float factor
리턴 float

particleBitmap 공개적으로 프로퍼티

public int particleBitmap
리턴 int

random 공개적으로 프로퍼티

public float random
리턴 float