修改水
This commit is contained in:
@@ -1,23 +1,15 @@
|
||||
using UnityEngine;
|
||||
using UnityEngine;
|
||||
using System;
|
||||
|
||||
namespace Obi
|
||||
{
|
||||
public class NullSolverImpl : ISolverImpl
|
||||
{
|
||||
public uint activeFoamParticleCount { private set; get; }
|
||||
|
||||
public void Destroy()
|
||||
{
|
||||
}
|
||||
|
||||
public void PushData()
|
||||
{
|
||||
}
|
||||
public void RequestReadback()
|
||||
{
|
||||
}
|
||||
|
||||
public void InitializeFrame(Vector4 translation, Vector4 scale, Quaternion rotation)
|
||||
{
|
||||
}
|
||||
@@ -26,24 +18,21 @@ namespace Obi
|
||||
{
|
||||
}
|
||||
|
||||
public IObiJobHandle ApplyFrame(float worldLinearInertiaScale, float worldAngularInertiaScale, float deltaTime)
|
||||
public void ApplyFrame(float worldLinearInertiaScale, float worldAngularInertiaScale, float deltaTime)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
public IObiJobHandle ApplyForceZones(ObiNativeForceZoneList zones, ObiNativeAffineTransformList transforms)
|
||||
public int GetDeformableTriangleCount()
|
||||
{
|
||||
return null;
|
||||
return 0;
|
||||
}
|
||||
|
||||
public void SetDeformableTriangles(ObiNativeIntList indices, ObiNativeVector2List uvs)
|
||||
public void SetDeformableTriangles(int[] indices, int num, int destOffset)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public void SetDeformableEdges(ObiNativeIntList indices)
|
||||
public int RemoveDeformableTriangles(int num, int sourceOffset)
|
||||
{
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
public void SetSimplices(ObiNativeIntList simplices, SimplexCounts counts)
|
||||
@@ -54,11 +43,6 @@ namespace Obi
|
||||
{
|
||||
}
|
||||
|
||||
public void MaxFoamParticleCountChanged(ObiSolver solver)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public void SetRigidbodyArrays(ObiSolver solver)
|
||||
{
|
||||
}
|
||||
@@ -67,6 +51,10 @@ namespace Obi
|
||||
{
|
||||
}
|
||||
|
||||
public void ResetForces()
|
||||
{
|
||||
}
|
||||
|
||||
public void GetBounds(ref Vector3 min, ref Vector3 max)
|
||||
{
|
||||
}
|
||||
@@ -80,6 +68,14 @@ namespace Obi
|
||||
return 0;
|
||||
}
|
||||
|
||||
public void GetCollisionContacts(Oni.Contact[] contacts, int count)
|
||||
{
|
||||
}
|
||||
|
||||
public void GetParticleCollisionContacts(Oni.Contact[] contacts, int count)
|
||||
{
|
||||
}
|
||||
|
||||
public void SetConstraintGroupParameters(Oni.ConstraintType type, ref Oni.ConstraintParameters parameters)
|
||||
{
|
||||
}
|
||||
@@ -93,29 +89,22 @@ namespace Obi
|
||||
{
|
||||
}
|
||||
|
||||
public void FinishSimulation()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public IObiJobHandle UpdateBounds(IObiJobHandle inputDeps, float stepTime)
|
||||
public IObiJobHandle CollisionDetection(float stepTime)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
public IObiJobHandle CollisionDetection(IObiJobHandle inputDeps, float stepTime)
|
||||
public IObiJobHandle Substep(float stepTime, float substepTime, int index)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
public IObiJobHandle Substep(IObiJobHandle inputDeps, float stepTime, float substepTime, int index, float timeLeft)
|
||||
public void ApplyInterpolation(ObiNativeVector4List startPositions, ObiNativeQuaternionList startOrientations, float stepTime, float unsimulatedTime)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
public IObiJobHandle ApplyInterpolation(IObiJobHandle inputDeps, ObiNativeVector4List startPositions, ObiNativeQuaternionList startOrientations, float stepTime, float unsimulatedTime)
|
||||
public void InterpolateDiffuseProperties(ObiNativeVector4List properties, ObiNativeVector4List diffusePositions, ObiNativeVector4List diffuseProperties, ObiNativeIntList neighbourCount, int diffuseCount)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
public int GetParticleGridSize()
|
||||
@@ -130,5 +119,10 @@ namespace Obi
|
||||
public void SpatialQuery(ObiNativeQueryShapeList shapes, ObiNativeAffineTransformList transforms, ObiNativeQueryResultList results)
|
||||
{
|
||||
}
|
||||
|
||||
public void ReleaseJobHandles()
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user