C# 클래스 Artemis.Engine.Graphics.AbstractCamera

상속: ResolutionRelativeObject
파일 보기 프로젝트 열기: ArtemisEngine/Artemis-Engine 1 사용 예제들

공개 메소드들

메소드 설명
AbstractCamera ( ) : FarseerPhysics.Collision
TargetToWorld ( Vector2 targetPosition ) : Vector2

Transform from target coordinates to world coordinates.

WorldToTarget ( Vector2 worldPosition ) : Vector2

Transform from world coordinates to target coordinates.

메소드 상세

AbstractCamera() 공개 메소드

public AbstractCamera ( ) : FarseerPhysics.Collision
리턴 FarseerPhysics.Collision

TargetToWorld() 공개 메소드

Transform from target coordinates to world coordinates.
public TargetToWorld ( Vector2 targetPosition ) : Vector2
targetPosition Microsoft.Xna.Framework.Vector2
리턴 Microsoft.Xna.Framework.Vector2

WorldToTarget() 공개 메소드

Transform from world coordinates to target coordinates.
public WorldToTarget ( Vector2 worldPosition ) : Vector2
worldPosition Microsoft.Xna.Framework.Vector2
리턴 Microsoft.Xna.Framework.Vector2