Table of Contents

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

float

NearPlane

public float NearPlane { get; set; }

Property Value

float

Methods

Clone(GameObject)

public override Component Clone(GameObject gameObject)

Parameters

gameObject GameObject

Returns

Component

IsSphereWithinFarPlane(Vector3, float)

public bool IsSphereWithinFarPlane(Vector3 sphereCenter, float sphereRadius)

Parameters

sphereCenter Vector3
sphereRadius float

Returns

bool

OutsideOfFrustrum(Vector3, Vector3)

public bool OutsideOfFrustrum(Vector3 AABBMin, Vector3 AABBMax)

Parameters

AABBMin Vector3
AABBMax Vector3

Returns

bool

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()