BrawlCrate v0.41
Wii File Editor
|
Public Member Functions | |
void | SetProjectionParams (float aspect, float fovy, float farz, float nearz) |
GLCamera () | |
GLCamera (float width, float height, Vector3 defaultTranslate, Vector3 defaultRotate, Vector3 defaultScale) | |
Vector3 | GetPoint () |
void | Scale (float x, float y, float z) |
void | Scale (Vector3 v) |
void | Zoom (float amt) |
void | Translate (Vector3 v) |
void | Translate (float x, float y, float z) |
void | Rotate (float x, float y, float z) |
void | Rotate (Vector3 v) |
void | Rotate (float x, float y) |
void | Pivot (float radius, float x, float y) |
void | Set (Vector3 translate, Vector3 rotate, Vector3 scale) |
void | Reset () |
void | CalculateProjection () |
void | SetDimensions (float width, float height) |
Vector3 | UnProject (Vector3 point) |
Projects a screen point to world coordinates. More... | |
Vector3 | UnProject (float x, float y, float z) |
Projects a screen point to world coordinates. More... | |
Vector3 | Project (float x, float y, float z) |
Projects a world point to screen coordinates. More... | |
Vector3 | Project (Vector3 source) |
Projects a world point to screen coordinates. More... | |
Vector3 | ProjectCameraSphere (Vector2 screenPoint, Vector3 center, float radius, bool clamp) |
void | ProjectCameraPlanes (Vector2 screenPoint, Matrix transform, out Vector3 xy, out Vector3 yz, out Vector3 xz) |
void | LoadProjection () |
void | LoadModelView () |
void | ZoomExtents (Vector3 point, float distance) |
void | SaveDefaults () |
Public Attributes | |
Matrix | _matrix |
Matrix | _matrixInverse |
Matrix | _projectionMatrix |
Matrix | _projectionInverse |
Vector3 | _rotation |
Vector3 | _scale |
bool | _ortho |
bool | _restrictXRot |
bool | _restrictYRot |
bool | _restrictZRot |
float | _fovY = 45.0f |
float | _nearZ = 1.0f |
float | _farZ = 200000.0f |
float | _width = 1 |
float | _height = 1 |
float | _aspect = 1 |
Vector4 | _orthoDimensions = new Vector4(0, 1, 0, 1) |
Vector3 | _defaultTranslate |
Vector3 | _defaultRotate |
Vector3 | _defaultScale = new Vector3(1) |
Action | OnPositionChanged |
Properties | |
float | VerticalFieldOfView [get, set] |
float | NearDepth [get, set] |
float | FarDepth [get, set] |
float | Width [get, set] |
float | Height [get, set] |
float | Aspect [get, set] |
bool | Orthographic [get, set] |
Events | |
Action | OnDimensionsChanged |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Projects a world point to screen coordinates.
Projects a world point to screen coordinates.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Projects a screen point to world coordinates.
|
inline |
|
inline |
float BrawlLib.OpenGL.GLCamera._aspect = 1 |
Vector3 BrawlLib.OpenGL.GLCamera._defaultRotate |
Vector3 BrawlLib.OpenGL.GLCamera._defaultTranslate |
float BrawlLib.OpenGL.GLCamera._farZ = 200000.0f |
float BrawlLib.OpenGL.GLCamera._fovY = 45.0f |
float BrawlLib.OpenGL.GLCamera._height = 1 |
Matrix BrawlLib.OpenGL.GLCamera._matrix |
Matrix BrawlLib.OpenGL.GLCamera._matrixInverse |
float BrawlLib.OpenGL.GLCamera._nearZ = 1.0f |
bool BrawlLib.OpenGL.GLCamera._ortho |
Matrix BrawlLib.OpenGL.GLCamera._projectionInverse |
Matrix BrawlLib.OpenGL.GLCamera._projectionMatrix |
bool BrawlLib.OpenGL.GLCamera._restrictXRot |
bool BrawlLib.OpenGL.GLCamera._restrictYRot |
bool BrawlLib.OpenGL.GLCamera._restrictZRot |
Vector3 BrawlLib.OpenGL.GLCamera._rotation |
Vector3 BrawlLib.OpenGL.GLCamera._scale |
float BrawlLib.OpenGL.GLCamera._width = 1 |
Action BrawlLib.OpenGL.GLCamera.OnPositionChanged |
|
getset |
|
getset |
|
getset |
|
getset |
|
getset |
|
getset |
|
getset |
Action BrawlLib.OpenGL.GLCamera.OnDimensionsChanged |