C# 클래스 Box2D.Common.OBBViewportTransform

Orientated bounding box viewport transform
상속: IViewportTransform
파일 보기 프로젝트 열기: gerich-home/box2dnet

공개 메소드들

메소드 설명
GetScreenToWorld ( Vec2 argScreen, Vec2 argWorld ) : void
GetScreenVectorToWorld ( Vec2 argScreen, Vec2 argWorld ) : void
GetWorldToScreen ( Vec2 argWorld, Vec2 argScreen ) : void
GetWorldVectorToScreen ( Vec2 argWorld, Vec2 argScreen ) : void
MulByTransform ( Mat22 argTransform ) : void

Multiplies the obb transform by the given transform

OBBViewportTransform ( )
Set ( OBBViewportTransform vpt ) : void
SetCamera ( float x, float y, float scale ) : void
SetCenter ( float x, float y ) : void

메소드 상세

GetScreenToWorld() 공개 메소드

public GetScreenToWorld ( Vec2 argScreen, Vec2 argWorld ) : void
argScreen Vec2
argWorld Vec2
리턴 void

GetScreenVectorToWorld() 공개 메소드

public GetScreenVectorToWorld ( Vec2 argScreen, Vec2 argWorld ) : void
argScreen Vec2
argWorld Vec2
리턴 void

GetWorldToScreen() 공개 메소드

public GetWorldToScreen ( Vec2 argWorld, Vec2 argScreen ) : void
argWorld Vec2
argScreen Vec2
리턴 void

GetWorldVectorToScreen() 공개 메소드

public GetWorldVectorToScreen ( Vec2 argWorld, Vec2 argScreen ) : void
argWorld Vec2
argScreen Vec2
리턴 void

MulByTransform() 공개 메소드

Multiplies the obb transform by the given transform
public MulByTransform ( Mat22 argTransform ) : void
argTransform Mat22
리턴 void

OBBViewportTransform() 공개 메소드

Set() 공개 메소드

public Set ( OBBViewportTransform vpt ) : void
vpt OBBViewportTransform
리턴 void

SetCamera() 공개 메소드

public SetCamera ( float x, float y, float scale ) : void
x float
y float
scale float
리턴 void

SetCenter() 공개 메소드

public SetCenter ( float x, float y ) : void
x float
y float
리턴 void