General functionality for all renderers.
A renderer is what makes an object appear on the screen. Use this class to access the renderer of any object, mesh or particle system.
Renderers can be disabled to make objects invisible (see enabled), and the materials can be accessed
and modified through them (see material).
See Also: Renderer components for meshes, particles,
lines and trails.
bounds | The bounding volume of the renderer (Read Only). |
enabled | Makes the rendered 3D object visible if enabled. |
isPartOfStaticBatch | Has this renderer been statically batched with any other renderers? |
isVisible | Is this renderer visible in any camera? (Read Only) |
lightmapIndex | Индекс карты освещения, примененной при визуализации. |
lightmapScaleOffset | The UV scale & offset used for a lightmap. |
localToWorldMatrix | Matrix that transforms a point from local space into world space (Read Only). |
material | Returns the first instantiated Material assigned to the renderer. |
materials | Returns all the instantiated materials of this object. |
probeAnchor | Если установлено, Renderer будет использовать позицию Transform's, чтобы найти интерполированные светопробы. |
realtimeLightmapIndex | Индекс карты освещения, примененной при визуализации. |
realtimeLightmapScaleOffset | The UV scale & offset used for a realtime lightmap. |
receiveShadows | Does this object receive shadows? |
reflectionProbeUsage | Should reflection probes be used for this Renderer? |
shadowCastingMode | Does this object cast shadows? |
sharedMaterial | The shared material of this object. |
sharedMaterials | All the shared materials of this object. |
sortingLayerID | Unique ID of the Renderer's sorting layer. |
sortingLayerName | Name of the Renderer's sorting layer. |
sortingOrder | Renderer's order within a sorting layer. |
useLightProbes | Should light probes be used for this Renderer? |
worldToLocalMatrix | Matrix that transforms a point from world space into local space (Read Only). |
GetClosestReflectionProbes | Returns an array of closest reflection probes with weights, weight shows how much influence the probe has on the renderer, this value is also used when blending between reflection probes occur. |
GetPropertyBlock | Get per-renderer material property block. |
SetPropertyBlock | Lets you add per-renderer material parameters without duplicating a material. |
OnBecameInvisible | OnBecameInvisible is called when the object is no longer visible by any camera. |
OnBecameVisible | OnBecameVisible is called when the object became visible by any camera. |
gameObject | The game object this component is attached to. A component is always attached to a game object. |
tag | Тег данного игрового объекта. |
transform | The Transform attached to this GameObject (null if there is none attached). |
hideFlags | Should the object be hidden, saved with the scene or modifiable by the user? |
name | The name of the object. |
BroadcastMessage | Вызывает метод названный methodName на каждом MonoBehaviour этого game object-а или любого из его потомков. |
CompareTag | Помечен ли этот игровой объект тэгом tag? |
GetComponent | Возвращает компонент типа type, если он прикреплен к игровому объекту и null, если не прикреплен. |
GetComponentInChildren | Returns the component of Type type in the GameObject or any of its children using depth first search. |
GetComponentInParent | Returns the component of Type type in the GameObject or any of its parents. |
GetComponents | Returns all components of Type type in the GameObject. |
GetComponentsInChildren | Returns all components of Type type in the GameObject or any of its children. |
GetComponentsInParent | Returns all components of Type type in the GameObject or any of its parents. |
SendMessage | Вызывает метод с именем methodName в каждом MonoBehaviour на этом объекте. |
SendMessageUpwards | Вызывает на каждом MonoBehaviour в данном игровом объекте и на каждом предке скрипта метод с именем methodName. |
GetInstanceID | Returns the instance id of the object. |
ToString | Returns the name of the game object. |
Destroy | Removes a gameobject, component or asset. |
DestroyImmediate | Destroys the object obj immediately. You are strongly recommended to use Destroy instead. |
DontDestroyOnLoad | Makes the object target not be destroyed automatically when loading a new scene. |
FindObjectOfType | Returns the first active loaded object of Type type. |
FindObjectsOfType | Returns a list of all active loaded objects of Type type. |
Instantiate | Returns a copy of the object original. |
bool | Does the object exist? |
operator != | Compares if two objects refer to a different object. |
operator == | Compares two object references to see if they refer to the same object. |