C# Class Sliceable, VRCubeSword

Inheritance: MonoBehaviour, ISliceable
Show file Open project: VirsixInc/VRCubeSword Class Usage Examples

Public Properties

Property Type Description
alternatePrefab Object
alwaysCloneFromAlternate bool
channelNormals bool
channelTangents bool
channelUV2 bool
currentlySliceable bool
explicitlySelectedMeshHolder GameObject
infillers TurboSlice.InfillConfiguration[],
refreshColliders bool
shatter bool

Public Methods

Method Description
Slice ( Vector3 positionInWorldSpace, Vector3 normalInWorldSpace ) : GameObject[]
cloneAlternate ( bool>.Dictionary hierarchyPresence ) : bool
handleSlice ( GameObject results ) : void

Method Details

Slice() public method

public Slice ( Vector3 positionInWorldSpace, Vector3 normalInWorldSpace ) : GameObject[]
positionInWorldSpace Vector3
normalInWorldSpace Vector3
return GameObject[]

cloneAlternate() public method

public cloneAlternate ( bool>.Dictionary hierarchyPresence ) : bool
hierarchyPresence bool>.Dictionary
return bool

handleSlice() public method

public handleSlice ( GameObject results ) : void
results GameObject
return void

Property Details

alternatePrefab public property

public Object alternatePrefab
return Object

alwaysCloneFromAlternate public property

public bool alwaysCloneFromAlternate
return bool

channelNormals public property

public bool channelNormals
return bool

channelTangents public property

public bool channelTangents
return bool

channelUV2 public property

public bool channelUV2
return bool

currentlySliceable public property

public bool currentlySliceable
return bool

explicitlySelectedMeshHolder public property

public GameObject explicitlySelectedMeshHolder
return GameObject

infillers public property

public TurboSlice.InfillConfiguration[], infillers
return TurboSlice.InfillConfiguration[],

refreshColliders public property

public bool refreshColliders
return bool

shatter public property

public bool shatter
return bool