C# 클래스 WaveEngine.Components.Cameras.ViewCamera3DBehavior

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

공개 메소드들

메소드 설명
ViewCamera3DBehavior ( System.Vector3 lookAt ) : System

Initializes a new instance of the ViewCamera3DBehavior class.

보호된 메소드들

메소드 설명
DefaultValues ( ) : void

Sets default values for this instance.

Initialize ( ) : void

Performs further custom initialization for this instance.

By default this method does nothing.

Update ( System.TimeSpan gameTime ) : void

Manage the touch state input when dragging to calculate delta, phi and theta angles

This method will not be executed if the Component, or the Entity owning it are not Active.

비공개 메소드들

메소드 설명
UpdateCameraPosition ( ) : void

Calculates the new camera Position relative to the initial position and lookAt

메소드 상세

DefaultValues() 보호된 메소드

Sets default values for this instance.
protected DefaultValues ( ) : void
리턴 void

Initialize() 보호된 메소드

Performs further custom initialization for this instance.
By default this method does nothing.
protected Initialize ( ) : void
리턴 void

Update() 보호된 메소드

Manage the touch state input when dragging to calculate delta, phi and theta angles
This method will not be executed if the Component, or the Entity owning it are not Active.
protected Update ( System.TimeSpan gameTime ) : void
gameTime System.TimeSpan The game time.
리턴 void

ViewCamera3DBehavior() 공개 메소드

Initializes a new instance of the ViewCamera3DBehavior class.
public ViewCamera3DBehavior ( System.Vector3 lookAt ) : System
lookAt System.Vector3 The look at
리턴 System