Mesh Resource Component used by Curvy Generator
Public Attributes | |
const MeshColliderCookingOptions | EverMeshColliderCookingOptions |
The value of the "Everything" entry in a MeshCollider.cookingOptions's inspector More... | |
Properties | |
Collider | Collider [get] |
MeshRenderer | Renderer [get] |
Public Member Functions | |
bool | ColliderMatches (CGColliderEnum type) |
void | OnAfterPop () |
void | OnBeforePush () |
Mesh | Prepare () |
void | RemoveCollider () |
bool | UpdateCollider (CGColliderEnum mode, bool convex, bool isTrigger, PhysicMaterial material, MeshColliderCookingOptions meshCookingOptions=EverMeshColliderCookingOptions) |
Updates the collider if existing, and create a new one if not. More... | |
bool ColliderMatches | ( | CGColliderEnum | type | ) |
void OnAfterPop | ( | ) |
void OnBeforePush | ( | ) |
Mesh Prepare | ( | ) |
void RemoveCollider | ( | ) |
bool UpdateCollider | ( | CGColliderEnum | mode, |
bool | convex, | ||
bool | isTrigger, | ||
PhysicMaterial | material, | ||
MeshColliderCookingOptions | meshCookingOptions = EverMeshColliderCookingOptions |
||
) |
Updates the collider if existing, and create a new one if not.
mode | The collider's type |
convex | Used only when mode is CGColliderEnum.Mesh |
isTrigger | Is the collider a Trigger |
material | The collider's material |
meshCookingOptions | Used only when mode is CGColliderEnum.Mesh |
const MeshColliderCookingOptions EverMeshColliderCookingOptions |
The value of the "Everything" entry in a MeshCollider.cookingOptions's inspector
|
get |
|
get |