|
enum | ParticleType {
None = 0,
Bone = 1 << 0,
Volume = 1 << 1,
Surface = 1 << 2,
All = Bone | Volume | Surface
} |
|
enum | VoxelConnectivity {
None = 0,
Faces = 1 << 0,
Edges = 1 << 1,
Vertices = 1 << 2,
All = Faces | Edges | Vertices
} |
|
enum | SurfaceSamplingMode { None,
Vertices,
Voxels
} |
|
enum | VolumeSamplingMode { None,
Voxels
} |
|
enum | SamplingMode { Surface,
Volume,
Full
} |
|
|
override IEnumerator | Initialize () |
|
override void | SwapWithFirstInactiveParticle (int index) |
|
void | ConnectToNeighborParticles (MeshVoxelizer voxelizer, int particle, List< Vector3 > particles, List< ParticleType > allowed, int x, int y, int z, Vector3Int[] neighborhood, float clusterSize) |
|
IEnumerator | CreateClustersFromVoxels (MeshVoxelizer voxelizer, List< Vector3 > particles, VoxelConnectivity connectivity, List< ParticleType > allowed) |
|
IEnumerator | CreateClustersFromSkeleton (List< Vector3 > particles) |
|
IEnumerator | SurfaceMeshShapeMatchingConstraints (List< Vector3 > particles, int[] triangles) |
|
virtual IEnumerator | CreateShapeMatchingConstraints (List< Vector3 > particles) |
|
|
delegate void | BlueprintCallback (ObiActorBlueprint blueprint) |
|
bool | IsParticleActive (int index) |
|
bool | ActivateParticle (int index) |
|
bool | DeactivateParticle (int index) |
|
void | RecalculateBounds () |
|
IEnumerable< IObiConstraints > | GetConstraints () |
|
IObiConstraints | GetConstraintsByType (Oni.ConstraintType type) |
|
int | GetParticleRuntimeIndex (int blueprintIndex) |
|
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) |
|
void | GenerateImmediate () |
|
IEnumerator | Generate () |
|
void | Clear () |
|
ObiParticleGroup | InsertNewParticleGroup (string name, int index, bool saveImmediately=true) |
|
ObiParticleGroup | AppendNewParticleGroup (string name, bool saveImmediately=true) |
|
bool | RemoveParticleGroupAt (int index, bool saveImmediately=true) |
|
bool | SetParticleGroupName (int index, string name, bool saveImmediately=true) |
|
void | ClearParticleGroups (bool saveImmediately=true) |
|
void | RemoveSelectedParticles (ref bool[] selected, bool optimize=true) |
|
void | RestoreRemovedParticles () |
|
virtual void | GenerateTethers (bool[] selected) |
|
virtual void | ClearTethers () |
|
bool | m_Empty = true |
|
int | m_ActiveParticleCount = 0 |
|
int | m_InitialActiveParticleCount = 0 |
|
Bounds | _bounds = new Bounds() |
|
BlueprintCallback | OnBlueprintGenerate |
|