Space Engineers
|
Public Member Functions | |
double | GetDistanceWithFOV (VRageMath.Vector3D position) |
bool | IsInFrustum (ref VRageMath.BoundingBoxD boundingBox) |
bool | IsInFrustum (ref VRageMath.BoundingSphereD boundingSphere) |
bool | IsInFrustum (VRageMath.BoundingBoxD boundingBox) |
Vector3D | WorldToScreen (ref Vector3D worldPos) |
Gets screen coordinates of 3d world pos in 0 - 1 distance where 1.0 is screen width(for X) or height(for Y). WARNING: Y is from bottom to top. More... | |
LineD | WorldLineFromScreen (Vector2 screenCoords) |
Properties | |
Vector3D | Position [get] |
Vector3D | PreviousPosition [get] |
Vector2 | ViewportOffset [get] |
Vector2 | ViewportSize [get] |
MatrixD | ViewMatrix [get] |
MatrixD | WorldMatrix [get] |
MatrixD | ProjectionMatrix [get] |
float | NearPlaneDistance [get] |
float | FarPlaneDistance [get] |
float | NearForNearObjects [get] |
float | FarForNearObjects [get] |
float | FieldOfViewAngle [get] |
float | FovWithZoom [get] |
MatrixD | ProjectionMatrixForNearObjects [get] |
float | FieldOfViewAngleForNearObjects [get] |
float | FovWithZoomForNearObjects [get] |
Definition at line 6 of file IMyCamera.cs.
double VRage.ModAPI.IMyCamera.GetDistanceWithFOV | ( | VRageMath.Vector3D | position | ) |
bool VRage.ModAPI.IMyCamera.IsInFrustum | ( | ref VRageMath.BoundingBoxD | boundingBox | ) |
bool VRage.ModAPI.IMyCamera.IsInFrustum | ( | ref VRageMath.BoundingSphereD | boundingSphere | ) |
bool VRage.ModAPI.IMyCamera.IsInFrustum | ( | VRageMath.BoundingBoxD | boundingBox | ) |
Implemented in VRage.Game.Utils.MyCamera.
Gets screen coordinates of 3d world pos in 0 - 1 distance where 1.0 is screen width(for X) or height(for Y). WARNING: Y is from bottom to top.
worldPos | World position. |
Implemented in VRage.Game.Utils.MyCamera.
|
get |
Definition at line 19 of file IMyCamera.cs.
|
get |
Definition at line 17 of file IMyCamera.cs.
|
get |
Definition at line 21 of file IMyCamera.cs.
|
get |
Definition at line 40 of file IMyCamera.cs.
|
get |
Definition at line 22 of file IMyCamera.cs.
|
get |
Definition at line 42 of file IMyCamera.cs.
|
get |
Definition at line 18 of file IMyCamera.cs.
|
get |
Definition at line 16 of file IMyCamera.cs.
|
get |
Definition at line 8 of file IMyCamera.cs.
|
get |
Definition at line 9 of file IMyCamera.cs.
|
get |
Definition at line 14 of file IMyCamera.cs.
|
get |
Definition at line 38 of file IMyCamera.cs.
|
get |
Definition at line 12 of file IMyCamera.cs.
|
get |
Definition at line 10 of file IMyCamera.cs.
|
get |
Definition at line 11 of file IMyCamera.cs.
|
get |
Definition at line 13 of file IMyCamera.cs.