scripts
This commit is contained in:
@@ -0,0 +1,551 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Runtime.CompilerServices;
|
||||
using UnityEngine.Scripting;
|
||||
|
||||
namespace UnityEngine
|
||||
{
|
||||
// Token: 0x0200014D RID: 333
|
||||
[RequireComponent(typeof(Transform))]
|
||||
public sealed class ParticleSystemRenderer : Renderer
|
||||
{
|
||||
// Token: 0x1700053C RID: 1340
|
||||
// (get) Token: 0x06001893 RID: 6291
|
||||
// (set) Token: 0x06001894 RID: 6292
|
||||
public extern ParticleSystemRenderMode renderMode
|
||||
{
|
||||
[GeneratedByOldBindingsGenerator]
|
||||
[MethodImpl(MethodImplOptions.InternalCall)]
|
||||
get;
|
||||
[GeneratedByOldBindingsGenerator]
|
||||
[MethodImpl(MethodImplOptions.InternalCall)]
|
||||
set;
|
||||
}
|
||||
|
||||
// Token: 0x1700053D RID: 1341
|
||||
// (get) Token: 0x06001895 RID: 6293
|
||||
// (set) Token: 0x06001896 RID: 6294
|
||||
public extern float lengthScale
|
||||
{
|
||||
[GeneratedByOldBindingsGenerator]
|
||||
[MethodImpl(MethodImplOptions.InternalCall)]
|
||||
get;
|
||||
[GeneratedByOldBindingsGenerator]
|
||||
[MethodImpl(MethodImplOptions.InternalCall)]
|
||||
set;
|
||||
}
|
||||
|
||||
// Token: 0x1700053E RID: 1342
|
||||
// (get) Token: 0x06001897 RID: 6295
|
||||
// (set) Token: 0x06001898 RID: 6296
|
||||
public extern float velocityScale
|
||||
{
|
||||
[GeneratedByOldBindingsGenerator]
|
||||
[MethodImpl(MethodImplOptions.InternalCall)]
|
||||
get;
|
||||
[GeneratedByOldBindingsGenerator]
|
||||
[MethodImpl(MethodImplOptions.InternalCall)]
|
||||
set;
|
||||
}
|
||||
|
||||
// Token: 0x1700053F RID: 1343
|
||||
// (get) Token: 0x06001899 RID: 6297
|
||||
// (set) Token: 0x0600189A RID: 6298
|
||||
public extern float cameraVelocityScale
|
||||
{
|
||||
[GeneratedByOldBindingsGenerator]
|
||||
[MethodImpl(MethodImplOptions.InternalCall)]
|
||||
get;
|
||||
[GeneratedByOldBindingsGenerator]
|
||||
[MethodImpl(MethodImplOptions.InternalCall)]
|
||||
set;
|
||||
}
|
||||
|
||||
// Token: 0x17000540 RID: 1344
|
||||
// (get) Token: 0x0600189B RID: 6299
|
||||
// (set) Token: 0x0600189C RID: 6300
|
||||
public extern float normalDirection
|
||||
{
|
||||
[GeneratedByOldBindingsGenerator]
|
||||
[MethodImpl(MethodImplOptions.InternalCall)]
|
||||
get;
|
||||
[GeneratedByOldBindingsGenerator]
|
||||
[MethodImpl(MethodImplOptions.InternalCall)]
|
||||
set;
|
||||
}
|
||||
|
||||
// Token: 0x17000541 RID: 1345
|
||||
// (get) Token: 0x0600189D RID: 6301
|
||||
// (set) Token: 0x0600189E RID: 6302
|
||||
public extern ParticleSystemRenderSpace alignment
|
||||
{
|
||||
[GeneratedByOldBindingsGenerator]
|
||||
[MethodImpl(MethodImplOptions.InternalCall)]
|
||||
get;
|
||||
[GeneratedByOldBindingsGenerator]
|
||||
[MethodImpl(MethodImplOptions.InternalCall)]
|
||||
set;
|
||||
}
|
||||
|
||||
// Token: 0x17000542 RID: 1346
|
||||
// (get) Token: 0x0600189F RID: 6303 RVA: 0x0001E554 File Offset: 0x0001C754
|
||||
// (set) Token: 0x060018A0 RID: 6304 RVA: 0x0001E574 File Offset: 0x0001C774
|
||||
public Vector3 pivot
|
||||
{
|
||||
get
|
||||
{
|
||||
Vector3 vector;
|
||||
this.INTERNAL_get_pivot(out vector);
|
||||
return vector;
|
||||
}
|
||||
set
|
||||
{
|
||||
this.INTERNAL_set_pivot(ref value);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x060018A1 RID: 6305
|
||||
[GeneratedByOldBindingsGenerator]
|
||||
[MethodImpl(MethodImplOptions.InternalCall)]
|
||||
private extern void INTERNAL_get_pivot(out Vector3 value);
|
||||
|
||||
// Token: 0x060018A2 RID: 6306
|
||||
[GeneratedByOldBindingsGenerator]
|
||||
[MethodImpl(MethodImplOptions.InternalCall)]
|
||||
private extern void INTERNAL_set_pivot(ref Vector3 value);
|
||||
|
||||
// Token: 0x17000543 RID: 1347
|
||||
// (get) Token: 0x060018A3 RID: 6307
|
||||
// (set) Token: 0x060018A4 RID: 6308
|
||||
public extern ParticleSystemSortMode sortMode
|
||||
{
|
||||
[GeneratedByOldBindingsGenerator]
|
||||
[MethodImpl(MethodImplOptions.InternalCall)]
|
||||
get;
|
||||
[GeneratedByOldBindingsGenerator]
|
||||
[MethodImpl(MethodImplOptions.InternalCall)]
|
||||
set;
|
||||
}
|
||||
|
||||
// Token: 0x17000544 RID: 1348
|
||||
// (get) Token: 0x060018A5 RID: 6309
|
||||
// (set) Token: 0x060018A6 RID: 6310
|
||||
public extern float sortingFudge
|
||||
{
|
||||
[GeneratedByOldBindingsGenerator]
|
||||
[MethodImpl(MethodImplOptions.InternalCall)]
|
||||
get;
|
||||
[GeneratedByOldBindingsGenerator]
|
||||
[MethodImpl(MethodImplOptions.InternalCall)]
|
||||
set;
|
||||
}
|
||||
|
||||
// Token: 0x17000545 RID: 1349
|
||||
// (get) Token: 0x060018A7 RID: 6311
|
||||
// (set) Token: 0x060018A8 RID: 6312
|
||||
public extern float minParticleSize
|
||||
{
|
||||
[GeneratedByOldBindingsGenerator]
|
||||
[MethodImpl(MethodImplOptions.InternalCall)]
|
||||
get;
|
||||
[GeneratedByOldBindingsGenerator]
|
||||
[MethodImpl(MethodImplOptions.InternalCall)]
|
||||
set;
|
||||
}
|
||||
|
||||
// Token: 0x17000546 RID: 1350
|
||||
// (get) Token: 0x060018A9 RID: 6313
|
||||
// (set) Token: 0x060018AA RID: 6314
|
||||
public extern float maxParticleSize
|
||||
{
|
||||
[GeneratedByOldBindingsGenerator]
|
||||
[MethodImpl(MethodImplOptions.InternalCall)]
|
||||
get;
|
||||
[GeneratedByOldBindingsGenerator]
|
||||
[MethodImpl(MethodImplOptions.InternalCall)]
|
||||
set;
|
||||
}
|
||||
|
||||
// Token: 0x17000547 RID: 1351
|
||||
// (get) Token: 0x060018AB RID: 6315
|
||||
// (set) Token: 0x060018AC RID: 6316
|
||||
public extern Mesh mesh
|
||||
{
|
||||
[GeneratedByOldBindingsGenerator]
|
||||
[MethodImpl(MethodImplOptions.InternalCall)]
|
||||
get;
|
||||
[GeneratedByOldBindingsGenerator]
|
||||
[MethodImpl(MethodImplOptions.InternalCall)]
|
||||
set;
|
||||
}
|
||||
|
||||
// Token: 0x17000548 RID: 1352
|
||||
// (get) Token: 0x060018AD RID: 6317 RVA: 0x0001E580 File Offset: 0x0001C780
|
||||
public int meshCount
|
||||
{
|
||||
get
|
||||
{
|
||||
return this.Internal_GetMeshCount();
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x060018AE RID: 6318
|
||||
[GeneratedByOldBindingsGenerator]
|
||||
[MethodImpl(MethodImplOptions.InternalCall)]
|
||||
private extern int Internal_GetMeshCount();
|
||||
|
||||
// Token: 0x060018AF RID: 6319
|
||||
[GeneratedByOldBindingsGenerator]
|
||||
[MethodImpl(MethodImplOptions.InternalCall)]
|
||||
public extern int GetMeshes(Mesh[] meshes);
|
||||
|
||||
// Token: 0x060018B0 RID: 6320 RVA: 0x0001E59C File Offset: 0x0001C79C
|
||||
public void SetMeshes(Mesh[] meshes)
|
||||
{
|
||||
this.SetMeshes(meshes, meshes.Length);
|
||||
}
|
||||
|
||||
// Token: 0x060018B1 RID: 6321
|
||||
[GeneratedByOldBindingsGenerator]
|
||||
[MethodImpl(MethodImplOptions.InternalCall)]
|
||||
public extern void SetMeshes(Mesh[] meshes, int size);
|
||||
|
||||
// Token: 0x17000549 RID: 1353
|
||||
// (get) Token: 0x060018B2 RID: 6322
|
||||
// (set) Token: 0x060018B3 RID: 6323
|
||||
public extern Material trailMaterial
|
||||
{
|
||||
[GeneratedByOldBindingsGenerator]
|
||||
[MethodImpl(MethodImplOptions.InternalCall)]
|
||||
get;
|
||||
[GeneratedByOldBindingsGenerator]
|
||||
[MethodImpl(MethodImplOptions.InternalCall)]
|
||||
set;
|
||||
}
|
||||
|
||||
// Token: 0x1700054A RID: 1354
|
||||
// (get) Token: 0x060018B4 RID: 6324
|
||||
public extern int activeVertexStreamsCount
|
||||
{
|
||||
[GeneratedByOldBindingsGenerator]
|
||||
[MethodImpl(MethodImplOptions.InternalCall)]
|
||||
get;
|
||||
}
|
||||
|
||||
// Token: 0x060018B5 RID: 6325 RVA: 0x0001E5AC File Offset: 0x0001C7AC
|
||||
public void SetActiveVertexStreams(List<ParticleSystemVertexStream> streams)
|
||||
{
|
||||
if (streams == null)
|
||||
{
|
||||
throw new ArgumentNullException("streams");
|
||||
}
|
||||
this.SetActiveVertexStreamsInternal(streams);
|
||||
}
|
||||
|
||||
// Token: 0x060018B6 RID: 6326
|
||||
[GeneratedByOldBindingsGenerator]
|
||||
[MethodImpl(MethodImplOptions.InternalCall)]
|
||||
internal extern void SetActiveVertexStreamsInternal(object streams);
|
||||
|
||||
// Token: 0x060018B7 RID: 6327 RVA: 0x0001E5C8 File Offset: 0x0001C7C8
|
||||
public void GetActiveVertexStreams(List<ParticleSystemVertexStream> streams)
|
||||
{
|
||||
if (streams == null)
|
||||
{
|
||||
throw new ArgumentNullException("streams");
|
||||
}
|
||||
this.GetActiveVertexStreamsInternal(streams);
|
||||
}
|
||||
|
||||
// Token: 0x060018B8 RID: 6328
|
||||
[GeneratedByOldBindingsGenerator]
|
||||
[MethodImpl(MethodImplOptions.InternalCall)]
|
||||
internal extern void GetActiveVertexStreamsInternal(object streams);
|
||||
|
||||
// Token: 0x060018B9 RID: 6329 RVA: 0x0001E5E4 File Offset: 0x0001C7E4
|
||||
[Obsolete("EnableVertexStreams is deprecated. Use SetActiveVertexStreams instead.")]
|
||||
public void EnableVertexStreams(ParticleSystemVertexStreams streams)
|
||||
{
|
||||
this.Internal_SetVertexStreams(streams, true);
|
||||
}
|
||||
|
||||
// Token: 0x060018BA RID: 6330 RVA: 0x0001E5F0 File Offset: 0x0001C7F0
|
||||
[Obsolete("DisableVertexStreams is deprecated. Use SetActiveVertexStreams instead.")]
|
||||
public void DisableVertexStreams(ParticleSystemVertexStreams streams)
|
||||
{
|
||||
this.Internal_SetVertexStreams(streams, false);
|
||||
}
|
||||
|
||||
// Token: 0x060018BB RID: 6331 RVA: 0x0001E5FC File Offset: 0x0001C7FC
|
||||
[Obsolete("AreVertexStreamsEnabled is deprecated. Use GetActiveVertexStreams instead.")]
|
||||
public bool AreVertexStreamsEnabled(ParticleSystemVertexStreams streams)
|
||||
{
|
||||
return this.Internal_GetEnabledVertexStreams(streams) == streams;
|
||||
}
|
||||
|
||||
// Token: 0x060018BC RID: 6332 RVA: 0x0001E61C File Offset: 0x0001C81C
|
||||
[Obsolete("GetEnabledVertexStreams is deprecated. Use GetActiveVertexStreams instead.")]
|
||||
public ParticleSystemVertexStreams GetEnabledVertexStreams(ParticleSystemVertexStreams streams)
|
||||
{
|
||||
return this.Internal_GetEnabledVertexStreams(streams);
|
||||
}
|
||||
|
||||
// Token: 0x060018BD RID: 6333 RVA: 0x0001E638 File Offset: 0x0001C838
|
||||
[Obsolete("Internal_SetVertexStreams is deprecated. Use SetActiveVertexStreams instead.")]
|
||||
internal void Internal_SetVertexStreams(ParticleSystemVertexStreams streams, bool enabled)
|
||||
{
|
||||
List<ParticleSystemVertexStream> list = new List<ParticleSystemVertexStream>(this.activeVertexStreamsCount);
|
||||
this.GetActiveVertexStreams(list);
|
||||
if (enabled)
|
||||
{
|
||||
if ((streams & ParticleSystemVertexStreams.Position) != ParticleSystemVertexStreams.None)
|
||||
{
|
||||
if (!list.Contains(ParticleSystemVertexStream.Position))
|
||||
{
|
||||
list.Add(ParticleSystemVertexStream.Position);
|
||||
}
|
||||
}
|
||||
if ((streams & ParticleSystemVertexStreams.Normal) != ParticleSystemVertexStreams.None)
|
||||
{
|
||||
if (!list.Contains(ParticleSystemVertexStream.Normal))
|
||||
{
|
||||
list.Add(ParticleSystemVertexStream.Normal);
|
||||
}
|
||||
}
|
||||
if ((streams & ParticleSystemVertexStreams.Tangent) != ParticleSystemVertexStreams.None)
|
||||
{
|
||||
if (!list.Contains(ParticleSystemVertexStream.Tangent))
|
||||
{
|
||||
list.Add(ParticleSystemVertexStream.Tangent);
|
||||
}
|
||||
}
|
||||
if ((streams & ParticleSystemVertexStreams.Color) != ParticleSystemVertexStreams.None)
|
||||
{
|
||||
if (!list.Contains(ParticleSystemVertexStream.Color))
|
||||
{
|
||||
list.Add(ParticleSystemVertexStream.Color);
|
||||
}
|
||||
}
|
||||
if ((streams & ParticleSystemVertexStreams.UV) != ParticleSystemVertexStreams.None)
|
||||
{
|
||||
if (!list.Contains(ParticleSystemVertexStream.UV))
|
||||
{
|
||||
list.Add(ParticleSystemVertexStream.UV);
|
||||
}
|
||||
}
|
||||
if ((streams & ParticleSystemVertexStreams.UV2BlendAndFrame) != ParticleSystemVertexStreams.None)
|
||||
{
|
||||
if (!list.Contains(ParticleSystemVertexStream.UV2))
|
||||
{
|
||||
list.Add(ParticleSystemVertexStream.UV2);
|
||||
list.Add(ParticleSystemVertexStream.AnimBlend);
|
||||
list.Add(ParticleSystemVertexStream.AnimFrame);
|
||||
}
|
||||
}
|
||||
if ((streams & ParticleSystemVertexStreams.CenterAndVertexID) != ParticleSystemVertexStreams.None)
|
||||
{
|
||||
if (!list.Contains(ParticleSystemVertexStream.Center))
|
||||
{
|
||||
list.Add(ParticleSystemVertexStream.Center);
|
||||
list.Add(ParticleSystemVertexStream.VertexID);
|
||||
}
|
||||
}
|
||||
if ((streams & ParticleSystemVertexStreams.Size) != ParticleSystemVertexStreams.None)
|
||||
{
|
||||
if (!list.Contains(ParticleSystemVertexStream.SizeXYZ))
|
||||
{
|
||||
list.Add(ParticleSystemVertexStream.SizeXYZ);
|
||||
}
|
||||
}
|
||||
if ((streams & ParticleSystemVertexStreams.Rotation) != ParticleSystemVertexStreams.None)
|
||||
{
|
||||
if (!list.Contains(ParticleSystemVertexStream.Rotation3D))
|
||||
{
|
||||
list.Add(ParticleSystemVertexStream.Rotation3D);
|
||||
}
|
||||
}
|
||||
if ((streams & ParticleSystemVertexStreams.Velocity) != ParticleSystemVertexStreams.None)
|
||||
{
|
||||
if (!list.Contains(ParticleSystemVertexStream.Velocity))
|
||||
{
|
||||
list.Add(ParticleSystemVertexStream.Velocity);
|
||||
}
|
||||
}
|
||||
if ((streams & ParticleSystemVertexStreams.Lifetime) != ParticleSystemVertexStreams.None)
|
||||
{
|
||||
if (!list.Contains(ParticleSystemVertexStream.AgePercent))
|
||||
{
|
||||
list.Add(ParticleSystemVertexStream.AgePercent);
|
||||
list.Add(ParticleSystemVertexStream.InvStartLifetime);
|
||||
}
|
||||
}
|
||||
if ((streams & ParticleSystemVertexStreams.Custom1) != ParticleSystemVertexStreams.None)
|
||||
{
|
||||
if (!list.Contains(ParticleSystemVertexStream.Custom1XYZW))
|
||||
{
|
||||
list.Add(ParticleSystemVertexStream.Custom1XYZW);
|
||||
}
|
||||
}
|
||||
if ((streams & ParticleSystemVertexStreams.Custom2) != ParticleSystemVertexStreams.None)
|
||||
{
|
||||
if (!list.Contains(ParticleSystemVertexStream.Custom2XYZW))
|
||||
{
|
||||
list.Add(ParticleSystemVertexStream.Custom2XYZW);
|
||||
}
|
||||
}
|
||||
if ((streams & ParticleSystemVertexStreams.Random) != ParticleSystemVertexStreams.None)
|
||||
{
|
||||
if (!list.Contains(ParticleSystemVertexStream.StableRandomXYZ))
|
||||
{
|
||||
list.Add(ParticleSystemVertexStream.StableRandomXYZ);
|
||||
list.Add(ParticleSystemVertexStream.VaryingRandomX);
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
if ((streams & ParticleSystemVertexStreams.Position) != ParticleSystemVertexStreams.None)
|
||||
{
|
||||
list.Remove(ParticleSystemVertexStream.Position);
|
||||
}
|
||||
if ((streams & ParticleSystemVertexStreams.Normal) != ParticleSystemVertexStreams.None)
|
||||
{
|
||||
list.Remove(ParticleSystemVertexStream.Normal);
|
||||
}
|
||||
if ((streams & ParticleSystemVertexStreams.Tangent) != ParticleSystemVertexStreams.None)
|
||||
{
|
||||
list.Remove(ParticleSystemVertexStream.Tangent);
|
||||
}
|
||||
if ((streams & ParticleSystemVertexStreams.Color) != ParticleSystemVertexStreams.None)
|
||||
{
|
||||
list.Remove(ParticleSystemVertexStream.Color);
|
||||
}
|
||||
if ((streams & ParticleSystemVertexStreams.UV) != ParticleSystemVertexStreams.None)
|
||||
{
|
||||
list.Remove(ParticleSystemVertexStream.UV);
|
||||
}
|
||||
if ((streams & ParticleSystemVertexStreams.UV2BlendAndFrame) != ParticleSystemVertexStreams.None)
|
||||
{
|
||||
list.Remove(ParticleSystemVertexStream.UV2);
|
||||
list.Remove(ParticleSystemVertexStream.AnimBlend);
|
||||
list.Remove(ParticleSystemVertexStream.AnimFrame);
|
||||
}
|
||||
if ((streams & ParticleSystemVertexStreams.CenterAndVertexID) != ParticleSystemVertexStreams.None)
|
||||
{
|
||||
list.Remove(ParticleSystemVertexStream.Center);
|
||||
list.Remove(ParticleSystemVertexStream.VertexID);
|
||||
}
|
||||
if ((streams & ParticleSystemVertexStreams.Size) != ParticleSystemVertexStreams.None)
|
||||
{
|
||||
list.Remove(ParticleSystemVertexStream.SizeXYZ);
|
||||
}
|
||||
if ((streams & ParticleSystemVertexStreams.Rotation) != ParticleSystemVertexStreams.None)
|
||||
{
|
||||
list.Remove(ParticleSystemVertexStream.Rotation3D);
|
||||
}
|
||||
if ((streams & ParticleSystemVertexStreams.Velocity) != ParticleSystemVertexStreams.None)
|
||||
{
|
||||
list.Remove(ParticleSystemVertexStream.Velocity);
|
||||
}
|
||||
if ((streams & ParticleSystemVertexStreams.Lifetime) != ParticleSystemVertexStreams.None)
|
||||
{
|
||||
list.Remove(ParticleSystemVertexStream.AgePercent);
|
||||
list.Remove(ParticleSystemVertexStream.InvStartLifetime);
|
||||
}
|
||||
if ((streams & ParticleSystemVertexStreams.Custom1) != ParticleSystemVertexStreams.None)
|
||||
{
|
||||
list.Remove(ParticleSystemVertexStream.Custom1XYZW);
|
||||
}
|
||||
if ((streams & ParticleSystemVertexStreams.Custom2) != ParticleSystemVertexStreams.None)
|
||||
{
|
||||
list.Remove(ParticleSystemVertexStream.Custom2XYZW);
|
||||
}
|
||||
if ((streams & ParticleSystemVertexStreams.Random) != ParticleSystemVertexStreams.None)
|
||||
{
|
||||
list.Remove(ParticleSystemVertexStream.StableRandomXYZW);
|
||||
list.Remove(ParticleSystemVertexStream.VaryingRandomX);
|
||||
}
|
||||
}
|
||||
this.SetActiveVertexStreams(list);
|
||||
}
|
||||
|
||||
// Token: 0x060018BE RID: 6334 RVA: 0x0001E9C8 File Offset: 0x0001CBC8
|
||||
[Obsolete("Internal_GetVertexStreams is deprecated. Use GetActiveVertexStreams instead.")]
|
||||
internal ParticleSystemVertexStreams Internal_GetEnabledVertexStreams(ParticleSystemVertexStreams streams)
|
||||
{
|
||||
List<ParticleSystemVertexStream> list = new List<ParticleSystemVertexStream>(this.activeVertexStreamsCount);
|
||||
this.GetActiveVertexStreams(list);
|
||||
ParticleSystemVertexStreams particleSystemVertexStreams = ParticleSystemVertexStreams.None;
|
||||
if (list.Contains(ParticleSystemVertexStream.Position))
|
||||
{
|
||||
particleSystemVertexStreams |= ParticleSystemVertexStreams.Position;
|
||||
}
|
||||
if (list.Contains(ParticleSystemVertexStream.Normal))
|
||||
{
|
||||
particleSystemVertexStreams |= ParticleSystemVertexStreams.Normal;
|
||||
}
|
||||
if (list.Contains(ParticleSystemVertexStream.Tangent))
|
||||
{
|
||||
particleSystemVertexStreams |= ParticleSystemVertexStreams.Tangent;
|
||||
}
|
||||
if (list.Contains(ParticleSystemVertexStream.Color))
|
||||
{
|
||||
particleSystemVertexStreams |= ParticleSystemVertexStreams.Color;
|
||||
}
|
||||
if (list.Contains(ParticleSystemVertexStream.UV))
|
||||
{
|
||||
particleSystemVertexStreams |= ParticleSystemVertexStreams.UV;
|
||||
}
|
||||
if (list.Contains(ParticleSystemVertexStream.UV2))
|
||||
{
|
||||
particleSystemVertexStreams |= ParticleSystemVertexStreams.UV2BlendAndFrame;
|
||||
}
|
||||
if (list.Contains(ParticleSystemVertexStream.Center))
|
||||
{
|
||||
particleSystemVertexStreams |= ParticleSystemVertexStreams.CenterAndVertexID;
|
||||
}
|
||||
if (list.Contains(ParticleSystemVertexStream.SizeXYZ))
|
||||
{
|
||||
particleSystemVertexStreams |= ParticleSystemVertexStreams.Size;
|
||||
}
|
||||
if (list.Contains(ParticleSystemVertexStream.Rotation3D))
|
||||
{
|
||||
particleSystemVertexStreams |= ParticleSystemVertexStreams.Rotation;
|
||||
}
|
||||
if (list.Contains(ParticleSystemVertexStream.Velocity))
|
||||
{
|
||||
particleSystemVertexStreams |= ParticleSystemVertexStreams.Velocity;
|
||||
}
|
||||
if (list.Contains(ParticleSystemVertexStream.AgePercent))
|
||||
{
|
||||
particleSystemVertexStreams |= ParticleSystemVertexStreams.Lifetime;
|
||||
}
|
||||
if (list.Contains(ParticleSystemVertexStream.Custom1XYZW))
|
||||
{
|
||||
particleSystemVertexStreams |= ParticleSystemVertexStreams.Custom1;
|
||||
}
|
||||
if (list.Contains(ParticleSystemVertexStream.Custom2XYZW))
|
||||
{
|
||||
particleSystemVertexStreams |= ParticleSystemVertexStreams.Custom2;
|
||||
}
|
||||
if (list.Contains(ParticleSystemVertexStream.StableRandomXYZ))
|
||||
{
|
||||
particleSystemVertexStreams |= ParticleSystemVertexStreams.Random;
|
||||
}
|
||||
return particleSystemVertexStreams & streams;
|
||||
}
|
||||
|
||||
// Token: 0x1700054B RID: 1355
|
||||
// (get) Token: 0x060018BF RID: 6335
|
||||
// (set) Token: 0x060018C0 RID: 6336
|
||||
public extern SpriteMaskInteraction maskInteraction
|
||||
{
|
||||
[GeneratedByOldBindingsGenerator]
|
||||
[MethodImpl(MethodImplOptions.InternalCall)]
|
||||
get;
|
||||
[GeneratedByOldBindingsGenerator]
|
||||
[MethodImpl(MethodImplOptions.InternalCall)]
|
||||
set;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user