添加插件
This commit is contained in:
@@ -0,0 +1,55 @@
|
||||
using UnityEngine;
|
||||
using System.Collections;
|
||||
using System;
|
||||
|
||||
namespace Obi
|
||||
{
|
||||
|
||||
public interface IShapeMatchingConstraintsUser
|
||||
{
|
||||
bool shapeMatchingConstraintsEnabled
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
|
||||
float deformationResistance
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
|
||||
float maxDeformation
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
|
||||
float plasticYield
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
|
||||
float plasticCreep
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
|
||||
float plasticRecovery
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
}
|
||||
|
||||
[Serializable]
|
||||
public class ObiShapeMatchingConstraintsData : ObiConstraints<ObiShapeMatchingConstraintsBatch>
|
||||
{
|
||||
public override ObiShapeMatchingConstraintsBatch CreateBatch(ObiShapeMatchingConstraintsBatch source = null)
|
||||
{
|
||||
return new ObiShapeMatchingConstraintsBatch();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user