docstrings
This commit is contained in:
@@ -67,15 +67,41 @@ abstract class Camera {
|
|||||||
Future<Matrix4> getCullingProjectionMatrix();
|
Future<Matrix4> getCullingProjectionMatrix();
|
||||||
Future setModelMatrix(Matrix4 matrix);
|
Future setModelMatrix(Matrix4 matrix);
|
||||||
|
|
||||||
|
/// Get the entity that has the underlying Camera component attached.
|
||||||
|
///
|
||||||
|
///
|
||||||
ThermionEntity getEntity();
|
ThermionEntity getEntity();
|
||||||
|
|
||||||
|
/// Set the transform for this entity.
|
||||||
|
///
|
||||||
|
///
|
||||||
Future setTransform(Matrix4 transform);
|
Future setTransform(Matrix4 transform);
|
||||||
|
|
||||||
|
/// Gets the distance to the near plane.
|
||||||
|
///
|
||||||
|
///
|
||||||
Future<double> getNear();
|
Future<double> getNear();
|
||||||
|
|
||||||
|
/// Gets the distance to the far plane used for culling.
|
||||||
|
///
|
||||||
|
///
|
||||||
Future<double> getCullingFar();
|
Future<double> getCullingFar();
|
||||||
|
|
||||||
|
///
|
||||||
|
///
|
||||||
|
///
|
||||||
Future<double> getFocalLength();
|
Future<double> getFocalLength();
|
||||||
|
|
||||||
|
/// Get the focus distance for depth-of-field postprocessing effect.
|
||||||
|
/// If DoF is not enabled, this does nothing.
|
||||||
|
///
|
||||||
Future<double> getFocusDistance();
|
Future<double> getFocusDistance();
|
||||||
|
|
||||||
|
/// Set the focus distance for depth-of-field postprocessing effect.
|
||||||
|
/// If DoF is not enabled, this does nothing.
|
||||||
|
///
|
||||||
Future setFocusDistance(double focusDistance);
|
Future setFocusDistance(double focusDistance);
|
||||||
|
|
||||||
Future<double> getHorizontalFieldOfView();
|
Future<double> getHorizontalFieldOfView();
|
||||||
Future<double> getVerticalFieldOfView();
|
Future<double> getVerticalFieldOfView();
|
||||||
Future<Frustum> getFrustum();
|
Future<Frustum> getFrustum();
|
||||||
|
|||||||
Reference in New Issue
Block a user