Class CameraComponent
- Namespace
- Crux.Components
- Assembly
- Crux.dll
public class CameraComponent : Component
- Inheritance
-
CameraComponent
- Inherited Members
Constructors
CameraComponent(GameObject)
public CameraComponent(GameObject gameObject)
Parameters
gameObjectGameObject
Properties
FarPlane
public float FarPlane { get; set; }
Property Value
NearPlane
public float NearPlane { get; set; }
Property Value
Methods
Clone(GameObject)
public override Component Clone(GameObject gameObject)
Parameters
gameObjectGameObject
Returns
IsSphereWithinFarPlane(Vector3, float)
public bool IsSphereWithinFarPlane(Vector3 sphereCenter, float sphereRadius)
Parameters
sphereCenterVector3sphereRadiusfloat
Returns
OutsideOfFrustrum(Vector3, Vector3)
public bool OutsideOfFrustrum(Vector3 AABBMin, Vector3 AABBMax)
Parameters
AABBMinVector3AABBMaxVector3
Returns
Recalculate()
public void Recalculate()
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
- string
A string that represents the current object.
Update()
public override void Update()