2026-04-30 그린빈 추가
This commit is contained in:
158
Assets/EasyColliderEditor/Scripts/EasyColliderEnums.cs
Normal file
158
Assets/EasyColliderEditor/Scripts/EasyColliderEnums.cs
Normal file
@@ -0,0 +1,158 @@
|
||||
namespace ECE
|
||||
{
|
||||
public enum NORMAL_OFFSET
|
||||
{
|
||||
Out,
|
||||
In,
|
||||
Both,
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Capsule method to use when creating a capsule
|
||||
/// </summary>
|
||||
public enum CAPSULE_COLLIDER_METHOD
|
||||
{
|
||||
BestFit,
|
||||
MinMax,
|
||||
MinMaxPlusRadius,
|
||||
MinMaxPlusDiameter,
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Type of collider to create
|
||||
/// </summary>
|
||||
public enum CREATE_COLLIDER_TYPE
|
||||
{
|
||||
BOX,
|
||||
ROTATED_BOX,
|
||||
SPHERE,
|
||||
CAPSULE,
|
||||
ROTATED_CAPSULE,
|
||||
CONVEX_MESH,
|
||||
CYLINDER,
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Orientation of collider
|
||||
/// </summary>
|
||||
public enum COLLIDER_ORIENTATION
|
||||
{
|
||||
NORMAL,
|
||||
ROTATED,
|
||||
}
|
||||
|
||||
public enum CYLINDER_ORIENTATION
|
||||
{
|
||||
Automatic,
|
||||
LocalX,
|
||||
LocalY,
|
||||
LocalZ
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Enum for spheres ot cubes when drawing gizmos
|
||||
/// </summary>
|
||||
public enum GIZMO_TYPE
|
||||
{
|
||||
CUBE,
|
||||
SPHERE,
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// enum for Shaders or Gizmos to draw vertices with.
|
||||
/// </summary>
|
||||
public enum RENDER_POINT_TYPE
|
||||
{
|
||||
SHADER,
|
||||
GIZMOS,
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Collider type to use when automatically generating colliders along a bone chain for a skinned mesh renderer.
|
||||
/// </summary>
|
||||
public enum SKINNED_MESH_COLLIDER_TYPE
|
||||
{
|
||||
Box,
|
||||
Capsule,
|
||||
Sphere,
|
||||
Convex_Mesh,
|
||||
}
|
||||
|
||||
public enum SKINNED_MESH_DEPENETRATE_ORDER
|
||||
{
|
||||
InOrder,
|
||||
Reverse,
|
||||
InsideOut,
|
||||
OutsideIn,
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Sphere method to use when creating a sphere
|
||||
/// </summary>
|
||||
public enum SPHERE_COLLIDER_METHOD
|
||||
{
|
||||
BestFit,
|
||||
Distance,
|
||||
MinMax,
|
||||
}
|
||||
|
||||
public enum VHACD_CONVERSION
|
||||
{
|
||||
None,
|
||||
Boxes,
|
||||
Spheres,
|
||||
Capsules,
|
||||
}
|
||||
|
||||
public enum MESH_COLLIDER_METHOD
|
||||
{
|
||||
QuickHull,
|
||||
MessyHull
|
||||
}
|
||||
|
||||
|
||||
public enum VERTEX_SNAP_METHOD
|
||||
{
|
||||
Add,
|
||||
Remove,
|
||||
Both,
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Method used to attach mesh colliders to the attach to object.
|
||||
/// </summary>
|
||||
public enum VHACD_RESULT_METHOD
|
||||
{
|
||||
AttachTo,
|
||||
ChildObject,
|
||||
IndividualChildObjects
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Current window tab selected in the editor window.
|
||||
/// </summary>
|
||||
public enum ECE_WINDOW_TAB
|
||||
{
|
||||
None = -1,
|
||||
Creation = 0,
|
||||
Editing = 1,
|
||||
VHACD = 2,
|
||||
AutoSkinned = 3,
|
||||
}
|
||||
|
||||
public enum COLLIDER_HOLDER
|
||||
{
|
||||
Default,
|
||||
Once,
|
||||
Always
|
||||
}
|
||||
|
||||
public enum CONVEX_HULL_SAVE_METHOD
|
||||
{
|
||||
Prefab,
|
||||
Mesh,
|
||||
PrefabMesh,
|
||||
MeshPrefab,
|
||||
Folder,
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user