C# Class exClipping, ex2d-v1

Inheritance: exPlane
Mostra file Open project: exdev/ex2d-v1 Class Usage Examples

Public Properties

Property Type Description
clipMaterialList List
isDyanmic bool
planeInfoList List

Protected Properties

Property Type Description
initialized bool

Public Methods

Method Description
AddClipMaterial ( Texture2D _texture, Material _mat ) : void
AddPlane ( exPlane, _plane ) : void
CheckAndRemoveClipMaterial ( Texture2D _texture ) : void
Clear ( ) : void
Commit ( ) : void
CommitMaterialProperties ( ) : void
HasPlaneInfo ( exPlane, _plane ) : bool
InsertPlane ( int _idx, exPlane, _plane ) : void
OnDrawGizmos ( ) : void
RemovePlane ( exPlane, _plane ) : bool
UpdatePlane ( exPlane, _plane ) : void

Protected Methods

Method Description
AddPlaneInfo ( exPlane, _plane ) : void
ApplyClipMaterial ( exPlane, _plane ) : void
Awake ( ) : void
Init ( ) : void
InsertPlaneInfo ( int _idx, exPlane, _plane ) : void
OnDestroy ( ) : void
OnDisable ( ) : void
OnEnable ( ) : void
RemovePlaneInfo ( exPlane, _plane ) : bool

Method Details

AddClipMaterial() public method

public AddClipMaterial ( Texture2D _texture, Material _mat ) : void
_texture UnityEngine.Texture2D
_mat Material
return void

AddPlane() public method

public AddPlane ( exPlane, _plane ) : void
_plane exPlane,
return void

AddPlaneInfo() protected method

protected AddPlaneInfo ( exPlane, _plane ) : void
_plane exPlane,
return void

ApplyClipMaterial() protected method

protected ApplyClipMaterial ( exPlane, _plane ) : void
_plane exPlane,
return void

Awake() protected method

protected Awake ( ) : void
return void

CheckAndRemoveClipMaterial() public method

public CheckAndRemoveClipMaterial ( Texture2D _texture ) : void
_texture UnityEngine.Texture2D
return void

Clear() public method

public Clear ( ) : void
return void

Commit() public method

public Commit ( ) : void
return void

CommitMaterialProperties() public method

public CommitMaterialProperties ( ) : void
return void

HasPlaneInfo() public method

public HasPlaneInfo ( exPlane, _plane ) : bool
_plane exPlane,
return bool

Init() protected method

protected Init ( ) : void
return void

InsertPlane() public method

public InsertPlane ( int _idx, exPlane, _plane ) : void
_idx int
_plane exPlane,
return void

InsertPlaneInfo() protected method

protected InsertPlaneInfo ( int _idx, exPlane, _plane ) : void
_idx int
_plane exPlane,
return void

OnDestroy() protected method

protected OnDestroy ( ) : void
return void

OnDisable() protected method

protected OnDisable ( ) : void
return void

OnDrawGizmos() public method

public OnDrawGizmos ( ) : void
return void

OnEnable() protected method

protected OnEnable ( ) : void
return void

RemovePlane() public method

public RemovePlane ( exPlane, _plane ) : bool
_plane exPlane,
return bool

RemovePlaneInfo() protected method

protected RemovePlaneInfo ( exPlane, _plane ) : bool
_plane exPlane,
return bool

UpdatePlane() public method

public UpdatePlane ( exPlane, _plane ) : void
_plane exPlane,
return void

Property Details

clipMaterialList public_oe property

public List clipMaterialList
return List

initialized protected_oe property

protected bool initialized
return bool

isDyanmic public_oe property

public bool isDyanmic
return bool

planeInfoList public_oe property

public List planeInfoList
return List