C# Class NodeLevelEditor.NodeHoleCutter

Mostrar archivo Open project: James-Frowen/node-level-editor Class Usage Examples

Public Properties

Property Type Description
IgnoreX bool
IgnoreY bool
IgnoreZ bool

Public Methods

Method Description
CutHoles ( Collider cutterCollder ) : void
CutHoles ( GameObject cutter ) : void
CutHoles ( NodeLevelEditor.HoleCutterBehaviour cutter ) : void
CutHoles ( Vector3 pos, Vector3 sca ) : void
CutHolesWithSelected ( ) : void
ResetIgnores ( ) : void

Private Methods

Method Description
calculateHolePosition ( Vector3 cutterPosition, Transform wall ) : Vector3
calculateHoleScale ( Vector3 cutterScale, Transform wall ) : Vector3
checkIgnoreX ( Transform t ) : bool
checkIgnoreY ( Transform t ) : bool
checkIgnoreZ ( Transform t ) : bool
cutHole ( Transform cutter, Transform wall ) : void
cutHole ( Vector3 pos, Vector3 sca, Transform wall ) : void
findIntersecting ( Bounds bounds ) : Transform[]
findIntersecting ( Collider cutter ) : Transform[]
getNormal ( Transform t ) : Vector3
getParentScale ( Transform wall ) : Vector3

Method Details

CutHoles() public static method

public static CutHoles ( Collider cutterCollder ) : void
cutterCollder Collider
return void

CutHoles() public static method

public static CutHoles ( GameObject cutter ) : void
cutter GameObject
return void

CutHoles() public static method

public static CutHoles ( NodeLevelEditor.HoleCutterBehaviour cutter ) : void
cutter NodeLevelEditor.HoleCutterBehaviour
return void

CutHoles() public static method

public static CutHoles ( Vector3 pos, Vector3 sca ) : void
pos Vector3
sca Vector3
return void

CutHolesWithSelected() public static method

public static CutHolesWithSelected ( ) : void
return void

ResetIgnores() public static method

public static ResetIgnores ( ) : void
return void

Property Details

IgnoreX public_oe static_oe property

public static bool IgnoreX
return bool

IgnoreY public_oe static_oe property

public static bool IgnoreY
return bool

IgnoreZ public_oe static_oe property

public static bool IgnoreZ
return bool