Property | Type | Description | |
---|---|---|---|
Position | Vector3 | ||
Target | Vector3 |
Property | Type | Description | |
---|---|---|---|
myGame | MyGame |
Method | Description | |
---|---|---|
BoundingVolumeIsInView ( Microsoft.Xna.Framework.BoundingBox box ) : bool |
Checks if the bounding box is in the camera frustrum or not
|
|
BoundingVolumeIsInView ( BoundingSphere sphere ) : bool |
Checks if the bounding sphere is in the camera frustrum or not
|
|
Camera ( |
Constructor that initiliaze the projection matrix
|
Method | Description | |
---|---|---|
generateFrustum ( ) : void |
Generate the camera frustrum from the view projection matrix
|
public BoundingVolumeIsInView ( Microsoft.Xna.Framework.BoundingBox box ) : bool | ||
box | Microsoft.Xna.Framework.BoundingBox | the Bounding box to check |
return | bool |
public BoundingVolumeIsInView ( BoundingSphere sphere ) : bool | ||
sphere | BoundingSphere | the Bounding sphere to check |
return | bool |
public Camera ( |
||
game | The instance of MyGame the game component is attached to | |
return | System |