C# 클래스 WaveOculusDemoProject.Components.TrailManager

상속: Behavior
파일 보기 프로젝트 열기: WaveEngine/Samples

공개 프로퍼티들

프로퍼티 타입 설명
BusyTrails List
Capacity int
FreeTrails List
NumTrails int
TrailPointsCount int

공개 메소드들

메소드 설명
FreeTrail ( TrailSetting trail ) : void

Release a trail

GetFreeTrail ( Transform3D transform ) : TrailSetting

Get a free trail

보호된 메소드들

메소드 설명
DefaultValues ( ) : void

INstantiate a new trail manager

Initialize ( ) : void

Initialize the trail manager

Update ( System.TimeSpan gameTime ) : void

Update the trail manager

비공개 메소드들

메소드 설명
InstantiateTrails ( int numTrails ) : void

Instantiate the trails

RemoveTrail ( TrailSetting trail ) : void

Remove the trail

메소드 상세

DefaultValues() 보호된 메소드

INstantiate a new trail manager
protected DefaultValues ( ) : void
리턴 void

FreeTrail() 공개 메소드

Release a trail
public FreeTrail ( TrailSetting trail ) : void
trail TrailSetting The trail instance to release
리턴 void

GetFreeTrail() 공개 메소드

Get a free trail
public GetFreeTrail ( Transform3D transform ) : TrailSetting
transform Transform3D The transform to follow the trail
리턴 TrailSetting

Initialize() 보호된 메소드

Initialize the trail manager
protected Initialize ( ) : void
리턴 void

Update() 보호된 메소드

Update the trail manager
protected Update ( System.TimeSpan gameTime ) : void
gameTime System.TimeSpan The current game time.
리턴 void

프로퍼티 상세

BusyTrails 공개적으로 프로퍼티

public List BusyTrails
리턴 List

Capacity 공개적으로 프로퍼티

public int Capacity
리턴 int

FreeTrails 공개적으로 프로퍼티

public List FreeTrails
리턴 List

NumTrails 공개적으로 프로퍼티

public int NumTrails
리턴 int

TrailPointsCount 공개적으로 프로퍼티

public int TrailPointsCount
리턴 int