C# 클래스 MBLineEmitter, Pharos

상속: MBEmitterType
파일 보기 프로젝트 열기: rstaewen/Pharos

공개 프로퍼티들

프로퍼티 타입 설명
DistributeOverTotal bool
DistributionPoints int
EvenlySpread bool
Points Vector3[]

보호된 프로퍼티들

프로퍼티 타입 설명
mDistribution int
mDistributionStep float
mLengths float[]
mTotalLength float

공개 메소드들

메소드 설명
CalcLengths ( ) : void
GetDistributionPoint ( int distribution, bool overTotal ) : Vector3

Gets a distribution point in emitter's local scale

GetPosition ( MBParticle, PT ) : Vector3
OnPlay ( ) : void
Reset ( ) : void
SetDistribution ( int points, bool overTotal ) : void
Validate ( ) : void

보호된 메소드들

메소드 설명
DoGizmos ( ) : void

메소드 상세

CalcLengths() 공개 메소드

public CalcLengths ( ) : void
리턴 void

DoGizmos() 보호된 메소드

protected DoGizmos ( ) : void
리턴 void

GetDistributionPoint() 공개 메소드

Gets a distribution point in emitter's local scale
public GetDistributionPoint ( int distribution, bool overTotal ) : Vector3
distribution int distribution index
overTotal bool whether segments length will taken into the calculation
리턴 Vector3

GetPosition() 공개 메소드

public GetPosition ( MBParticle, PT ) : Vector3
PT MBParticle,
리턴 Vector3

OnPlay() 공개 메소드

public OnPlay ( ) : void
리턴 void

Reset() 공개 메소드

public Reset ( ) : void
리턴 void

SetDistribution() 공개 메소드

public SetDistribution ( int points, bool overTotal ) : void
points int
overTotal bool
리턴 void

Validate() 공개 메소드

public Validate ( ) : void
리턴 void

프로퍼티 상세

DistributeOverTotal 공개적으로 프로퍼티

Distribute over total length (slower) or over segment lengths
public bool DistributeOverTotal
리턴 bool

DistributionPoints 공개적으로 프로퍼티

Number of spawnpoints the arc/circle will be divided into when evenly spread
public int DistributionPoints
리턴 int

EvenlySpread 공개적으로 프로퍼티

True to spawn particles evenly spread along the arc/cirlce
public bool EvenlySpread
리턴 bool

Points 공개적으로 프로퍼티

Array of line points
public Vector3[] Points
리턴 Vector3[]

mDistribution 보호되어 있는 프로퍼티

protected int mDistribution
리턴 int

mDistributionStep 보호되어 있는 프로퍼티

protected float mDistributionStep
리턴 float

mLengths 보호되어 있는 프로퍼티

protected float[] mLengths
리턴 float[]

mTotalLength 보호되어 있는 프로퍼티

protected float mTotalLength
리턴 float