Class CollisionDataOptions
The collision data asset cooking options.
Inheritance
System.Object
CollisionDataOptions
Namespace: FlaxEngine
Assembly: FlaxEngine.CSharp.dll
Syntax
[Unmanaged]
public sealed class CollisionDataOptions : ValueType
Fields
Box
ConvexFlags
The convex generation flags.
Declaration
public ConvexMeshGenerationFlags ConvexFlags
Field Value
ConvexMeshGenerationFlags
|
ConvexVertexLimit
The convex vertices limit (maximum amount).
Declaration
public int ConvexVertexLimit
Field Value
System.Int32
|
MaterialSlotsMask
The source model material slots mask. One bit per-slot. Can be used to exclude particular material slots from collision cooking.
Declaration
public uint MaterialSlotsMask
Field Value
System.UInt32
|
Model
The source model asset id.
Declaration
public Guid Model
Field Value
System.Guid
|
ModelLodIndex
The source model LOD index.
Declaration
public int ModelLodIndex
Field Value
System.Int32
|
Type
Properties
Default
The default CollisionDataOptions.
Declaration
public static CollisionDataOptions Default { get; }
Property Value
CollisionDataOptions
|