C# Class Moba_Camera_Boundaries, MIN-394-Fall-2015

Show file Open project: nbzeman/MIN-394-Fall-2015 Class Usage Examples

Public Properties

Property Type Description
boundaryLayer string

Public Methods

Method Description
AddBoundary ( Moba_Camera_Boundary, boundary, BoundaryType type ) : bool
GetClosestBoundary ( Vector3 point ) : Moba_Camera_Boundary,
GetClosestPointOnBoundary ( Moba_Camera_Boundary, boundary, Vector3 point ) : Vector3
GetNumberOfBoundaries ( ) : int
RemoveBoundary ( Moba_Camera_Boundary, boundary, BoundaryType type ) : bool
SetBoundaryLayerExist ( bool value ) : void
isPointInBoundary ( Vector3 point ) : bool

Private Methods

Method Description
calBoxRelations ( BoxCollider box, Vector3 point, bool containedToBox, bool &isPointInBox ) : Vector3
getClosestPointOnSurfaceBox ( BoxCollider box, Vector3 point ) : Vector3

Method Details

AddBoundary() public static method

public static AddBoundary ( Moba_Camera_Boundary, boundary, BoundaryType type ) : bool
boundary Moba_Camera_Boundary,
type BoundaryType
return bool

GetClosestBoundary() public static method

public static GetClosestBoundary ( Vector3 point ) : Moba_Camera_Boundary,
point Vector3
return Moba_Camera_Boundary,

GetClosestPointOnBoundary() public static method

public static GetClosestPointOnBoundary ( Moba_Camera_Boundary, boundary, Vector3 point ) : Vector3
boundary Moba_Camera_Boundary,
point Vector3
return Vector3

GetNumberOfBoundaries() public static method

public static GetNumberOfBoundaries ( ) : int
return int

RemoveBoundary() public static method

public static RemoveBoundary ( Moba_Camera_Boundary, boundary, BoundaryType type ) : bool
boundary Moba_Camera_Boundary,
type BoundaryType
return bool

SetBoundaryLayerExist() public static method

public static SetBoundaryLayerExist ( bool value ) : void
value bool
return void

isPointInBoundary() public static method

public static isPointInBoundary ( Vector3 point ) : bool
point Vector3
return bool

Property Details

boundaryLayer public static property

public static string boundaryLayer
return string