添加插件

This commit is contained in:
2025-11-10 00:08:26 +08:00
parent 4059c207c0
commit 76f80db694
2814 changed files with 436400 additions and 178 deletions

View File

@@ -0,0 +1,25 @@
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);
Vector3 GetParticleRestPosition(int index);
Quaternion GetParticleRestOrientation(int index);
void GetParticleAnisotropy(int index, ref Vector4 b1, ref Vector4 b2, ref Vector4 b3);
float GetParticleMaxRadius(int index);
Color GetParticleColor(int index);
}
}