C# Класс ConcaveCollider, ThreeDWorld

Наследование: MonoBehaviour
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
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[]

Открытые методы

Метод Описание
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

Приватные методы

Метод Описание
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

Описание методов

CancelComputation() публичный Метод

public CancelComputation ( ) : void
Результат void

ComputeHulls() публичный Метод

public ComputeHulls ( LogDelegate log, ProgressDelegate progress ) : bool
log LogDelegate
progress ProgressDelegate
Результат bool

DestroyHulls() публичный Метод

public DestroyHulls ( ) : void
Результат void

FH_CreateColliders() публичный статический Метод

public static FH_CreateColliders ( GameObject obj, string vrmlText, bool isBatchMode ) : void
obj GameObject
vrmlText string
isBatchMode bool
Результат void

GetLargestHullFaces() публичный Метод

public GetLargestHullFaces ( ) : int
Результат int

GetLargestHullVertices() публичный Метод

public GetLargestHullVertices ( ) : int
Результат int

ReadVrml() публичный статический Метод

public static ReadVrml ( string contents, ProgressDelegate progress, string debugNameObj = "???" ) : List
contents string
progress ProgressDelegate
debugNameObj string
Результат List

Описание свойств

Algorithm публичное свойство

public EAlgorithm Algorithm
Результат EAlgorithm

BackFaceDistanceFactor публичное свойство

public float BackFaceDistanceFactor
Результат float

CreateHullMesh публичное свойство

public bool CreateHullMesh
Результат bool

CreateMeshAssets публичное свойство

public bool CreateMeshAssets
Результат bool

DebugLog публичное свойство

public bool DebugLog
Результат bool

DelayBatchedCalls публичное статическое свойство

public static bool DelayBatchedCalls
Результат bool

ForceNoMultithreading публичное свойство

public bool ForceNoMultithreading
Результат bool

InternalScale публичное свойство

public float InternalScale
Результат float

IsTrigger публичное свойство

public bool IsTrigger
Результат bool

LegacyDepth публичное свойство

public int LegacyDepth
Результат int

MaxHullVertices публичное свойство

public int MaxHullVertices
Результат int

MaxHulls публичное свойство

public int MaxHulls
Результат int

MinHullVolume публичное свойство

public float MinHullVolume
Результат float

NormalizeInputMesh публичное свойство

public bool NormalizeInputMesh
Результат bool

PhysMaterial публичное свойство

public PhysicMaterial,UnityEngine PhysMaterial
Результат UnityEngine.PhysicMaterial

Precision публичное свойство

public float Precision
Результат float

ShowAdvancedOptions публичное свойство

public bool ShowAdvancedOptions
Результат bool

VHACD_Concavity публичное свойство

public float VHACD_Concavity
Результат float

VHACD_MaxVerticesPerCH публичное свойство

public int VHACD_MaxVerticesPerCH
Результат int

VHACD_MinVolumePerCH публичное свойство

public float VHACD_MinVolumePerCH
Результат float

VHACD_NormalizeMesh публичное свойство

public bool VHACD_NormalizeMesh
Результат bool

VHACD_NumVoxels публичное свойство

public int VHACD_NumVoxels
Результат int

m_aGoHulls публичное свойство

public GameObject[] m_aGoHulls
Результат GameObject[]