C# Class ConcaveCollider, ThreeDWorld

Inheritance: MonoBehaviour
显示文件 Open project: dicarlolab/ThreeDWorld Class Usage Examples

Public Properties

Property Type Description
Algorithm EAlgorithm
BackFaceDistanceFactor float
CreateHullMesh bool
CreateMeshAssets bool
DebugLog bool
DelayBatchedCalls bool
ForceNoMultithreading bool
InternalScale float
IsTrigger bool
LegacyDepth int
MaxHullVertices int
MaxHulls int
MinHullVolume float
NormalizeInputMesh bool
PhysMaterial UnityEngine.PhysicMaterial
Precision float
ShowAdvancedOptions bool
VHACD_Concavity float
VHACD_MaxVerticesPerCH int
VHACD_MinVolumePerCH float
VHACD_NormalizeMesh bool
VHACD_NumVoxels int
m_aGoHulls GameObject[]

Public Methods

Method Description
CancelComputation ( ) : void
ComputeHulls ( LogDelegate log, ProgressDelegate progress ) : bool
DestroyHulls ( ) : void
FH_CreateColliders ( GameObject obj, string vrmlText, bool isBatchMode ) : void
GetLargestHullFaces ( ) : int
GetLargestHullVertices ( ) : int
ReadVrml ( string contents, ProgressDelegate progress, string debugNameObj = "???" ) : List

Private Methods

Method Description
CancelConvexDecomposition ( ) : void
CreateCollidersMenuCommand ( ) : void
CreateProgressBar ( System onCancel, string title = "Computing hulls" ) : ProgressDelegate
DllClose ( ) : void
DllInit ( bool bUseMultithreading ) : void
DoConvexDecomposition ( SConvexDecompositionInfoInOut &infoInOut, Vector3 pfVertices, int puIndices ) : bool
FH_Cancel ( ) : void
FH_ComputeHulls ( GameObject obj, ProgressDelegate progress = null ) : void
FH_CreateHullsFromVrml ( GameObject obj, string vrml, ProgressDelegate progress ) : void
FillHullMeshData ( uint uHullIndex, float &pfVolumeOut, int pnIndicesOut, Vector3 pfVerticesOut ) : bool
GetHullInfo ( uint uHullIndex, SConvexDecompositionHullInfo &infoOut ) : bool
OnDestroy ( ) : void
Reset ( ) : void
SetLogFunctionPointer ( IntPtr pfnUnity3DLog ) : void
SetProgressFunctionPointer ( IntPtr pfnUnity3DProgress ) : void
ShowEditorProgressBar ( string message, float fPercent ) : void
Update ( ) : void

Method Details

CancelComputation() public method

public CancelComputation ( ) : void
return void

ComputeHulls() public method

public ComputeHulls ( LogDelegate log, ProgressDelegate progress ) : bool
log LogDelegate
progress ProgressDelegate
return bool

DestroyHulls() public method

public DestroyHulls ( ) : void
return void

FH_CreateColliders() public static method

public static FH_CreateColliders ( GameObject obj, string vrmlText, bool isBatchMode ) : void
obj GameObject
vrmlText string
isBatchMode bool
return void

GetLargestHullFaces() public method

public GetLargestHullFaces ( ) : int
return int

GetLargestHullVertices() public method

public GetLargestHullVertices ( ) : int
return int

ReadVrml() public static method

public static ReadVrml ( string contents, ProgressDelegate progress, string debugNameObj = "???" ) : List
contents string
progress ProgressDelegate
debugNameObj string
return List

Property Details

Algorithm public_oe property

public EAlgorithm Algorithm
return EAlgorithm

BackFaceDistanceFactor public_oe property

public float BackFaceDistanceFactor
return float

CreateHullMesh public_oe property

public bool CreateHullMesh
return bool

CreateMeshAssets public_oe property

public bool CreateMeshAssets
return bool

DebugLog public_oe property

public bool DebugLog
return bool

DelayBatchedCalls public_oe static_oe property

public static bool DelayBatchedCalls
return bool

ForceNoMultithreading public_oe property

public bool ForceNoMultithreading
return bool

InternalScale public_oe property

public float InternalScale
return float

IsTrigger public_oe property

public bool IsTrigger
return bool

LegacyDepth public_oe property

public int LegacyDepth
return int

MaxHullVertices public_oe property

public int MaxHullVertices
return int

MaxHulls public_oe property

public int MaxHulls
return int

MinHullVolume public_oe property

public float MinHullVolume
return float

NormalizeInputMesh public_oe property

public bool NormalizeInputMesh
return bool

PhysMaterial public_oe property

public PhysicMaterial,UnityEngine PhysMaterial
return UnityEngine.PhysicMaterial

Precision public_oe property

public float Precision
return float

ShowAdvancedOptions public_oe property

public bool ShowAdvancedOptions
return bool

VHACD_Concavity public_oe property

public float VHACD_Concavity
return float

VHACD_MaxVerticesPerCH public_oe property

public int VHACD_MaxVerticesPerCH
return int

VHACD_MinVolumePerCH public_oe property

public float VHACD_MinVolumePerCH
return float

VHACD_NormalizeMesh public_oe property

public bool VHACD_NormalizeMesh
return bool

VHACD_NumVoxels public_oe property

public int VHACD_NumVoxels
return int

m_aGoHulls public_oe property

public GameObject[] m_aGoHulls
return GameObject[]