unsafe internal ParticleSystemNativeArray4 CreateNativeArray4(ref NativeParticleData.Array4 ptrs, int count) { return(new ParticleSystemNativeArray4 { x = CreateNativeArray <float>(ptrs.x, count), y = CreateNativeArray <float>(ptrs.y, count), z = CreateNativeArray <float>(ptrs.z, count), w = CreateNativeArray <float>(ptrs.w, count) }); }
internal unsafe ParticleSystemNativeArray4 CreateNativeArray4(ref NativeParticleData.Array4 ptrs, int count) { return(new ParticleSystemNativeArray4 { x = this.CreateNativeArray <float>((void *)ptrs.x, count), y = this.CreateNativeArray <float>((void *)ptrs.y, count), z = this.CreateNativeArray <float>((void *)ptrs.z, count), w = this.CreateNativeArray <float>((void *)ptrs.w, count) }); }