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

Afficher le fichier Open project: nbzeman/MIN-394-Fall-2015 Class Usage Examples

Méthodes publiques

Свойство Type Description
boundaryLayer string

Méthodes publiques

Méthode 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

Méthode Description
calBoxRelations ( BoxCollider box, Vector3 point, bool containedToBox, bool &isPointInBox ) : Vector3
getClosestPointOnSurfaceBox ( BoxCollider box, Vector3 point ) : Vector3

Method Details

AddBoundary() public static méthode

public static AddBoundary ( Moba_Camera_Boundary, boundary, BoundaryType type ) : bool
boundary Moba_Camera_Boundary,
type BoundaryType
Résultat bool

GetClosestBoundary() public static méthode

public static GetClosestBoundary ( Vector3 point ) : Moba_Camera_Boundary,
point Vector3
Résultat Moba_Camera_Boundary,

GetClosestPointOnBoundary() public static méthode

public static GetClosestPointOnBoundary ( Moba_Camera_Boundary, boundary, Vector3 point ) : Vector3
boundary Moba_Camera_Boundary,
point Vector3
Résultat Vector3

GetNumberOfBoundaries() public static méthode

public static GetNumberOfBoundaries ( ) : int
Résultat int

RemoveBoundary() public static méthode

public static RemoveBoundary ( Moba_Camera_Boundary, boundary, BoundaryType type ) : bool
boundary Moba_Camera_Boundary,
type BoundaryType
Résultat bool

SetBoundaryLayerExist() public static méthode

public static SetBoundaryLayerExist ( bool value ) : void
value bool
Résultat void

isPointInBoundary() public static méthode

public static isPointInBoundary ( Vector3 point ) : bool
point Vector3
Résultat bool

Property Details

boundaryLayer public_oe static_oe property

public static string boundaryLayer
Résultat string