![]() SetMaterial ( PlaygroundParticlesC playgroundParticles, Material particleMaterial) SetLifetime ( PlaygroundParticlesC playgroundParticles, float time) Sets amount of particles for this Particle System. SetParticleCount ( PlaygroundParticlesC playgroundParticles, int amount) ![]() More.ĪddCollider ( PlaygroundParticlesC playgroundParticles)ĪddCollider ( PlaygroundParticlesC playgroundParticles, Transform transform)Īdds a plane collider and assign a transform. More.Īdd ( PlaygroundParticlesC playgroundParticles, Mesh mesh, Texture2D texture, float scale, Vector3 offset, string stateName, Transform stateTransform)Īdds a single state mesh with texture and transform. More.Īdd ( PlaygroundParticlesC playgroundParticles, Mesh mesh, Texture2D texture, float scale, Vector3 offset, string stateName)Īdds a single state mesh with texture. More.Īdd ( PlaygroundParticlesC playgroundParticles, Mesh mesh, float scale, Vector3 offset, string stateName)Īdd ( PlaygroundParticlesC playgroundParticles, Mesh mesh, float scale, Vector3 offset, string stateName, Transform stateTransform)Īdds a single state mesh with transform. More.Īdd ( PlaygroundParticlesC playgroundParticles, Texture2D image, Texture2D depthmap, float depthmapStrength, float scale, Vector3 offset, string stateName, Transform stateTransform)Īdds single state image with depthmap and transform. More.Īdd ( PlaygroundParticlesC playgroundParticles, Texture2D image, Texture2D depthmap, float depthmapStrength, float scale, Vector3 offset, string stateName)Īdds a single state image with depthmap. More.Īdd ( PlaygroundParticlesC playgroundParticles, ParticleStateC state)Īdd ( PlaygroundParticlesC playgroundParticles, Texture2D image, float scale, Vector3 offset, string stateName)Īdd ( PlaygroundParticlesC playgroundParticles, Texture2D image, float scale, Vector3 offset, string stateName, Transform stateTransform)Īdds a single state image with transform. Translates all particles in Particle System. Translate ( PlaygroundParticlesC playgroundParticles, Vector3 direction) SetSize ( PlaygroundParticlesC playgroundParticles, float size) SetAlpha ( PlaygroundParticlesC playgroundParticles, float alpha) Gets normals from a world object in Vector3 format (notice that the array is modified by reference). GetNormals ( Vector3 normals, WorldObject particleStateWorldObject) Gets vertices from a world object in Vector3 format (notice that the array is modified by reference). GetPosition ( Vector3 vertices, WorldObject particleStateWorldObject) Gets vertices and normals from a skinned world object in Vector3 format (notice that the array is modified by reference). GetPosition ( SkinnedWorldObject particleStateWorldObject, bool updateNormals) More.Įmit ( PlaygroundParticlesC playgroundParticles, bool setEmission) More.Įmit ( PlaygroundParticlesC playgroundParticles, Vector3 position, Vector3 normal, Color color)Įmits next particle while setting scriptedEmission data - using the particle system as a pool. Particle (Mesh meshes, Texture2D textures)Įmit ( PlaygroundParticlesC playgroundParticles)Įmits next particle - using the particle system as a pool (note that you need to set scriptedEmission-variables on beforehand using this method). Particle (Mesh meshes, Texture2D textures, string name, Vector3 position, Quaternion rotation, float particleScale, Vector3 offsets, Material material)Ĭreates a PlaygroundParticlesC object with several mesh states. Particle (Mesh mesh, Texture2D texture, string name, Vector3 position, Quaternion rotation, float particleScale, Vector3 offset, Material material)Ĭreates a PlaygroundParticlesC object with a mesh state. ![]() Particle (Texture2D images, string name, Vector3 position, Quaternion rotation, Vector3 offset, float particleSize, float scale, Material material)Ĭreates a PlaygroundParticlesC object with several image states. Particle (Texture2D image, string name, Vector3 position, Quaternion rotation, Vector3 offset, float particleSize, float scale, Material material)Ĭreates a PlaygroundParticlesC object with an image state. SendParticleEventTime ( PlaygroundEventParticle eventParticle)Ĭreates a PlaygroundParticlesC object by standard prefab More.Ĭreates an empty PlaygroundParticlesC object by script More. SendParticleEventCollision ( PlaygroundEventParticle eventParticle) SendParticleEventDeath ( PlaygroundEventParticle eventParticle) SendParticleEventBirth ( PlaygroundEventParticle eventParticle) More.ĭetermines whether there is enabled global manipulators which should be calculated. More.ĭetermines whether the multithreading is within the initial first unsafe frames. More.ĭetermines whether the thread for skinned meshes is done. More.ĭetermines whether the thread for turbulence is done. This is always true when any other method is selected. Determines whether the thread for threadMethod if set to ThreadMethod.OneForAll is finished. ![]()
0 Comments
Leave a Reply. |