Class CameraComponent
- Namespace
- Crux.Components
- Assembly
- Crux.dll
public class CameraComponent : Component
- Inheritance
-
CameraComponent
- Inherited Members
Constructors
CameraComponent(GameObject)
public CameraComponent(GameObject gameObject)
Parameters
gameObject
GameObject
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
gameObject
GameObject
Returns
IsSphereWithinFarPlane(Vector3, float)
public bool IsSphereWithinFarPlane(Vector3 sphereCenter, float sphereRadius)
Parameters
sphereCenter
Vector3sphereRadius
float
Returns
OutsideOfFrustrum(Vector3, Vector3)
public bool OutsideOfFrustrum(Vector3 AABBMin, Vector3 AABBMax)
Parameters
AABBMin
Vector3AABBMax
Vector3
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()