C# Class AcTools.Render.Base.Cameras.BaseCamera

Inheritance: ICamera
ファイルを表示 Open project: gro-ove/actools Class Usage Examples

Public Properties

Property Type Description
Aspect float
FarWindowHeight float
FarWindowWidth float
FarZ float
FovY float
Look System.Vector3
NearWindowHeight float
NearWindowWidth float
NearZ float
Proj System.Matrix
Right System.Vector3
Up System.Vector3
View System.Matrix

Protected Properties

Property Type Description
Frustum Frustum

Public Methods

Method Description
Clone ( ) : BaseCamera
GetFrustumCorners ( ) : System.Vector3[]
GetPickingRay ( System.Vector2 sp, System.Vector2 screenDims ) : Ray
Intersect ( BoundingBox box ) : FrustrumIntersectionType
LookAt ( System.Vector3 pos, System.Vector3 target, System.Vector3 up ) : void
Pitch ( float angle ) : void
Restore ( ) : void
Save ( ) : void
SetLens ( float aspect ) : void
Strafe ( float d ) : void
UpdateViewMatrix ( ) : void
Visible ( BoundingBox box ) : bool
Walk ( float d ) : void
Yaw ( float angle ) : void
Zoom ( float dr ) : void

Protected Methods

Method Description
BaseCamera ( float fov ) : System

Method Details

BaseCamera() protected method

protected BaseCamera ( float fov ) : System
fov float
return System

Clone() public abstract method

public abstract Clone ( ) : BaseCamera
return BaseCamera

GetFrustumCorners() public method

public GetFrustumCorners ( ) : System.Vector3[]
return System.Vector3[]

GetPickingRay() public method

public GetPickingRay ( System.Vector2 sp, System.Vector2 screenDims ) : Ray
sp System.Vector2
screenDims System.Vector2
return Ray

Intersect() public method

public Intersect ( BoundingBox box ) : FrustrumIntersectionType
box BoundingBox
return FrustrumIntersectionType

LookAt() public abstract method

public abstract LookAt ( System.Vector3 pos, System.Vector3 target, System.Vector3 up ) : void
pos System.Vector3
target System.Vector3
up System.Vector3
return void

Pitch() public abstract method

public abstract Pitch ( float angle ) : void
angle float
return void

Restore() public abstract method

public abstract Restore ( ) : void
return void

Save() public abstract method

public abstract Save ( ) : void
return void

SetLens() public method

public SetLens ( float aspect ) : void
aspect float
return void

Strafe() public abstract method

public abstract Strafe ( float d ) : void
d float
return void

UpdateViewMatrix() public abstract method

public abstract UpdateViewMatrix ( ) : void
return void

Visible() public method

public Visible ( BoundingBox box ) : bool
box BoundingBox
return bool

Walk() public abstract method

public abstract Walk ( float d ) : void
d float
return void

Yaw() public abstract method

public abstract Yaw ( float angle ) : void
angle float
return void

Zoom() public abstract method

public abstract Zoom ( float dr ) : void
dr float
return void

Property Details

Aspect public_oe property

public float Aspect
return float

FarWindowHeight public_oe property

public float FarWindowHeight
return float

FarWindowWidth public_oe property

public float FarWindowWidth
return float

FarZ public_oe property

public float FarZ
return float

FovY public_oe property

public float FovY
return float

Frustum protected_oe property

protected Frustum,AcTools.Render.Base.Cameras Frustum
return Frustum

Look public_oe property

public Vector3,System Look
return System.Vector3

NearWindowHeight public_oe property

public float NearWindowHeight
return float

NearWindowWidth public_oe property

public float NearWindowWidth
return float

NearZ public_oe property

public float NearZ
return float

Proj public_oe property

public Matrix,System Proj
return System.Matrix

Right public_oe property

public Vector3,System Right
return System.Vector3

Up public_oe property

public Vector3,System Up
return System.Vector3

View public_oe property

public Matrix,System View
return System.Matrix