添加插件

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);
}
}

View File

@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 0281a989d5aa445b0bcb43597806adf7
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,12 @@
fileFormatVersion: 2
guid: 4602f0908b7ed409dbe198de06df8955
timeCreated: 1449041314
licenseType: Store
MonoImporter:
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant: