重新导入obi

This commit is contained in:
2026-04-06 11:35:18 +08:00
parent 05fa2d6e5e
commit ae3002a0e2
1643 changed files with 232496 additions and 13 deletions

View File

@@ -0,0 +1,20 @@
using UnityEngine;
using System.Collections;
namespace Obi
{
// Interface for classes that hold a collection of particles. Contains method to get common particle properties.
public interface IObiParticleCollection
{
int particleCount { get; }
int activeParticleCount { get; }
bool usesOrientedParticles { get; }
int GetParticleRuntimeIndex(int index); // returns solver or blueprint index, depending on implementation.
Vector3 GetParticlePosition(int index);
Quaternion GetParticleOrientation(int index);
void GetParticleAnisotropy(int index, ref Vector4 b1, ref Vector4 b2, ref Vector4 b3);
float GetParticleMaxRadius(int index);
Color GetParticleColor(int index);
}
}