Version: 2017.3

ParticleSystemRenderer

class in UnityEngine

/

Hereda de:Renderer

Cambiar al Manual

Descripción

Renders particles on to the screen (Shuriken).

Variables

activeVertexStreamsCountThe number of currently active custom vertex streams.
alignmentControl the direction that particles face.
cameraVelocityScaleHow much are the particles stretched depending on the Camera's speed.
lengthScaleQué tanto las partículas son estiradas en la dirección del movimiento.
maskInteractionSpecifies how the Particle System Renderer interacts with SpriteMask.
maxParticleSizeClamp (sujeta) el tamaño máximo de la partícula.
meshMesh used as particle instead of billboarded texture.
meshCountThe number of meshes being used for particle rendering.
minParticleSizeClamp the minimum particle size.
normalDirectionHow much are billboard particle normals oriented towards the camera.
pivotModifico el punto de pivote utilizado para girar partículas.
renderModeCómo se pintan las partículas.
sortingFudgeBiases particle system sorting amongst other transparencies.
sortModeSort particles within a system.
trailMaterialSet the material used by the Trail module for attaching trails to particles.
velocityScaleHow much are the particles stretched depending on "how fast they move".

Funciones Públicas

GetActiveVertexStreamsQuery which vertex shader streams are enabled on the ParticleSystemRenderer.
GetMeshesGet the array of meshes to be used as particles.
SetActiveVertexStreamsEnable a set of vertex shader streams on the ParticleSystemRenderer.
SetMeshesSet an array of meshes to be used as particles when the ParticleSystemRenderer.renderMode is set to ParticleSystemRenderMode.Mesh.

Miembros heredados

Variables

gameObjectEl game object que tiene este componente adjunto. Un componente siempre está adjunto a un game object.
tagEl tag de este game object.
transformThe Transform attached to this GameObject.
hideFlags¿Debería el objeto estar oculto, guardado con la escena o modificable por el usuario?
nameEl nombre del objeto.
allowOcclusionWhenDynamicControls if dynamic occlusion culling should be performed for this renderer.
boundsEl volumen de-limitador del renderer (Lectura solamente).
enabledHace que el objeto 3D renderizado esté visible si está activado.
isPartOfStaticBatchHa sido este renderer agrupado estáticamente con otro renderer?
isVisibleEs este renderer visible a cualquier cámara? (Lectura solamente)
lightmapIndexEl índice del lightmap baked aplicado a este renderizador.
lightmapScaleOffsetLa escala & desfase UV utilizado para un lightmap.
lightProbeProxyVolumeOverrideSi se establece, el Renderer utilizará el componente Light Probe Proxy Volume conectado a la fuente GameObject.
lightProbeUsageEl tipo de interpolación de la sonda de luz.
localToWorldMatrixMatriz que transforma un punto del espacio local en el espacio mundial (Lectura solamente).
materialRetorna el primer Material instanciado asignado al renderer.
materialsRetorna todos los materiales instanciados de este objeto.
motionVectorGenerationModeSpecifies the mode for motion vector rendering.
probeAnchorSi se establece el Renderer, utilizará esta posición del Transform para encontrar la luz o el reflection probe.
realtimeLightmapIndexEl índice del mapa de luz en tiempo real aplicado a este renderizador.
realtimeLightmapScaleOffsetLa escala UV y desfase utilizados para un lightmap en tiempo real.
receiveShadows¿Este objeto recibe sombras?
reflectionProbeUsageDeberían los reflection probes ser utilizados para este Renderer?
shadowCastingMode¿El objeto emite sombras?
sharedMaterialEl material comportado de este objeto.
sharedMaterialsTodos los materiales compartidos de este objeto.
sortingLayerIDUnique ID del sorting layer del Renderer.
sortingLayerNameNombre de la sorting layer del Renderer.
sortingOrderOrden del renderer dentro de una sorting layer.
worldToLocalMatrixMatriz que transforma un punto del espacio mundial en espacio local (Lectura solamente).

Funciones Públicas

BroadcastMessageLlama al método denominado methodName de todos los MonoBehaviour en este game objecto en cualquiera de sus hijos.
CompareTag¿Este game object está etiquetado con tag?
GetComponentDevuelve un componente de tipo type si el game object tiene a alguno adjuntado, o null si no lo tiene.
GetComponentInChildrenRetorna el componente de tipo type en el GameObject o cualquiera de sus hijos utilizando depth first search (busqueda de profundidad).
GetComponentInParentRetorna el componente de tipo type en el GameObject o cualquiera de sus padres.
GetComponentsRetorna todos los componentes de tipo type en el GameObject.
GetComponentsInChildrenRetorna todos los componentes de tipo type en el GameObject o cualquiera de sus hijo.
GetComponentsInParentRetorna todos los componentes de tipo type en el GameObject o cualquiera de sus padres.
SendMessageLlama al método denominado methodName en cada MonoBehaviour de este game object.
SendMessageUpwardsLlama al método denominado methodName en todos los MonoBehaviour de este juego y en todos los ancestros del behaviour.
GetInstanceIDDevuelve el id de la instancia del objeto.
ToStringReturns the name of the GameObject.
GetClosestReflectionProbesRetorna un arreglo de los reflection probes más cercanos con pesos, el peso muestra qué tanta influencia el probe tiene sobre el renderer, este valor también es utilizado cuando se mezcla entre reflection probes.
GetPropertyBlockObtiene un bloque de propiedad de material por-renderer.
SetPropertyBlockLe permite a usted agregar parámetros de material por-renderer sin duplicar un material.

Funciones Estáticas

DestroyElimina un gameobject, componente o asset.
DestroyImmediateDestroys the object obj immediately. You are strongly recommended to use Destroy instead.
DontDestroyOnLoadHace que el objeto target no sea destruido automáticamente cuando se cargue una nueva escena.
FindObjectOfTypeDevuelve el primer objeto activo cargado de tipo type.
FindObjectsOfTypeDevuelve una lista de todos los objetos activos cargados de tipo type.
InstantiateClona el objeto original y devuelve el clon.

Operadores

bool¿Existe el objeto?
operator !=Compare si dos objetos se refieren a un objeto diferente.
operator ==Compara dos referencias de objeto para ver si se refieren al mismo objeto.

Mensajes

OnBecameInvisible OnBecameInvisible se llama cuando el objeto ya no es visible por ninguna cámara.
OnBecameVisible OnBecameVisible se llama cuando el objeto se hizo visible por cualquier cámara.