Show / Hide Table of Contents

Class Renderer

Inheritance
Object
Object
Component
Renderer
BillboardRenderer
SpriteShapeRenderer
LineRenderer
MeshRenderer
ParticleSystemRenderer
SkinnedMeshRenderer
SpriteMask
SpriteRenderer
TilemapRenderer
TrailRenderer
Inherited Members
Component.transform
Component.gameObject
Component.GetComponent(Type)
Component.GetComponent<T>()
Component.GetComponent(String)
Component.GetComponentInChildren(Type, Boolean)
Component.GetComponentInChildren(Type)
Component.GetComponentInChildren<T>(Boolean)
Component.GetComponentInChildren<T>()
Component.GetComponentsInChildren(Type, Boolean)
Component.GetComponentsInChildren(Type)
Component.GetComponentsInChildren<T>(Boolean)
Component.GetComponentsInChildren<T>(Boolean, List<T>)
Component.GetComponentsInChildren<T>()
Component.GetComponentsInChildren<T>(List<T>)
Component.GetComponentInParent(Type)
Component.GetComponentInParent<T>()
Component.GetComponentsInParent(Type, Boolean)
Component.GetComponentsInParent(Type)
Component.GetComponentsInParent<T>(Boolean)
Component.GetComponentsInParent<T>(Boolean, List<T>)
Component.GetComponentsInParent<T>()
Component.GetComponents(Type)
Component.GetComponents(Type, List<Component>)
Component.GetComponents<T>(List<T>)
Component.tag
Component.GetComponents<T>()
Component.CompareTag(String)
Component.SendMessageUpwards(String, Object, SendMessageOptions)
Component.SendMessageUpwards(String, Object)
Component.SendMessageUpwards(String)
Component.SendMessageUpwards(String, SendMessageOptions)
Component.SendMessage(String, Object)
Component.SendMessage(String)
Component.SendMessage(String, Object, SendMessageOptions)
Component.SendMessage(String, SendMessageOptions)
Component.BroadcastMessage(String, Object, SendMessageOptions)
Component.BroadcastMessage(String, Object)
Component.BroadcastMessage(String)
Component.BroadcastMessage(String, SendMessageOptions)
Object.GetInstanceID()
Object.GetHashCode()
Object.Equals(Object)
Object.name
Object.Instantiate(Object, Vector3, Quaternion)
Object.Instantiate(Object, Vector3, Quaternion, Transform)
Object.Instantiate(Object)
Object.Instantiate(Object, Transform)
Object.Instantiate(Object, Transform, Boolean)
Object.Instantiate<T>(T)
Object.Instantiate<T>(T, Vector3, Quaternion)
Object.Instantiate<T>(T, Vector3, Quaternion, Transform)
Object.Instantiate<T>(T, Transform)
Object.Instantiate<T>(T, Transform, Boolean)
Object.Destroy(Object, Single)
Object.Destroy(Object)
Object.DestroyImmediate(Object, Boolean)
Object.DestroyImmediate(Object)
Object.FindObjectsOfType(Type)
Object.DontDestroyOnLoad(Object)
Object.hideFlags
Object.DestroyObject(Object, Single)
Object.DestroyObject(Object)
Object.FindSceneObjectsOfType(Type)
Object.FindObjectsOfTypeIncludingAssets(Type)
Object.FindObjectsOfType<T>()
Object.FindObjectOfType<T>()
Object.FindObjectsOfTypeAll(Type)
Object.FindObjectOfType(Type)
Object.ToString()
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetType()
Object.MemberwiseClone()
Namespace: UnityEngine
Assembly: UnityEngine.dll
Syntax
[RequireComponent(typeof(Transform))]
public class Renderer : Component

Properties

allowOcclusionWhenDynamic

Declaration
public bool allowOcclusionWhenDynamic { get; set; }
Property Value
Type Description
Boolean

bounds

Declaration
public Bounds bounds { get; }
Property Value
Type Description
Bounds

enabled

Declaration
public bool enabled { get; set; }
Property Value
Type Description
Boolean

isPartOfStaticBatch

Declaration
public bool isPartOfStaticBatch { get; }
Property Value
Type Description
Boolean

isVisible

Declaration
public bool isVisible { get; }
Property Value
Type Description
Boolean
| Improve this Doc View Source

lightmapIndex

Declaration
public int lightmapIndex { get; set; }
Property Value
Type Description
Int32
| Improve this Doc View Source

lightmapScaleOffset

Declaration
public Vector4 lightmapScaleOffset { get; set; }
Property Value
Type Description
Vector4

lightProbeProxyVolumeOverride

Declaration
public GameObject lightProbeProxyVolumeOverride { get; set; }
Property Value
Type Description
GameObject

lightProbeUsage

Declaration
public LightProbeUsage lightProbeUsage { get; set; }
Property Value
Type Description
LightProbeUsage

localToWorldMatrix

Declaration
public Matrix4x4 localToWorldMatrix { get; }
Property Value
Type Description
Matrix4x4
| Improve this Doc View Source

material

Declaration
public Material material { get; set; }
Property Value
Type Description
Material
| Improve this Doc View Source

materials

Declaration
public Material[] materials { get; set; }
Property Value
Type Description
Material[]

motionVectorGenerationMode

Declaration
public MotionVectorGenerationMode motionVectorGenerationMode { get; set; }
Property Value
Type Description
MotionVectorGenerationMode
| Improve this Doc View Source

motionVectors

Declaration
[Obsolete("Use motionVectorGenerationMode instead.", false)]
public bool motionVectors { get; set; }
Property Value
Type Description
Boolean

probeAnchor

Declaration
public Transform probeAnchor { get; set; }
Property Value
Type Description
Transform
| Improve this Doc View Source

realtimeLightmapIndex

Declaration
public int realtimeLightmapIndex { get; set; }
Property Value
Type Description
Int32
| Improve this Doc View Source

realtimeLightmapScaleOffset

Declaration
public Vector4 realtimeLightmapScaleOffset { get; set; }
Property Value
Type Description
Vector4

receiveShadows

Declaration
public bool receiveShadows { get; set; }
Property Value
Type Description
Boolean

reflectionProbeUsage

Declaration
public ReflectionProbeUsage reflectionProbeUsage { get; set; }
Property Value
Type Description
ReflectionProbeUsage

rendererPriority

Declaration
public int rendererPriority { get; set; }
Property Value
Type Description
Int32

renderingLayerMask

Declaration
public uint renderingLayerMask { get; set; }
Property Value
Type Description
UInt32

shadowCastingMode

Declaration
public ShadowCastingMode shadowCastingMode { get; set; }
Property Value
Type Description
ShadowCastingMode
| Improve this Doc View Source

sharedMaterial

Declaration
public Material sharedMaterial { get; set; }
Property Value
Type Description
Material
| Improve this Doc View Source

sharedMaterials

Declaration
public Material[] sharedMaterials { get; set; }
Property Value
Type Description
Material[]

sortingLayerID

Declaration
public int sortingLayerID { get; set; }
Property Value
Type Description
Int32

sortingLayerName

Declaration
public string sortingLayerName { get; set; }
Property Value
Type Description
String

sortingOrder

Declaration
public int sortingOrder { get; set; }
Property Value
Type Description
Int32
| Improve this Doc View Source

useLightProbes

Declaration
[Obsolete("Use lightProbeUsage instead.", false)]
public bool useLightProbes { get; set; }
Property Value
Type Description
Boolean

worldToLocalMatrix

Declaration
public Matrix4x4 worldToLocalMatrix { get; }
Property Value
Type Description
Matrix4x4

Methods

| Improve this Doc View Source

GetClosestReflectionProbes(List<ReflectionProbeBlendInfo>)

Declaration
public void GetClosestReflectionProbes(List<ReflectionProbeBlendInfo> result)
Parameters
Type Name Description
List<ReflectionProbeBlendInfo> result
| Improve this Doc View Source

GetMaterials(List<Material>)

Declaration
public void GetMaterials(List<Material> m)
Parameters
Type Name Description
List<Material> m
| Improve this Doc View Source

GetPropertyBlock(MaterialPropertyBlock)

Declaration
public void GetPropertyBlock(MaterialPropertyBlock properties)
Parameters
Type Name Description
MaterialPropertyBlock properties
| Improve this Doc View Source

GetPropertyBlock(MaterialPropertyBlock, Int32)

Declaration
public void GetPropertyBlock(MaterialPropertyBlock properties, int materialIndex)
Parameters
Type Name Description
MaterialPropertyBlock properties
Int32 materialIndex
| Improve this Doc View Source

GetSharedMaterials(List<Material>)

Declaration
public void GetSharedMaterials(List<Material> m)
Parameters
Type Name Description
List<Material> m

HasPropertyBlock()

Declaration
public bool HasPropertyBlock()
Returns
Type Description
Boolean
| Improve this Doc View Source

SetPropertyBlock(MaterialPropertyBlock)

Declaration
public void SetPropertyBlock(MaterialPropertyBlock properties)
Parameters
Type Name Description
MaterialPropertyBlock properties
| Improve this Doc View Source

SetPropertyBlock(MaterialPropertyBlock, Int32)

Declaration
public void SetPropertyBlock(MaterialPropertyBlock properties, int materialIndex)
Parameters
Type Name Description
MaterialPropertyBlock properties
Int32 materialIndex

Extension Methods

RendererExtensions.UpdateGIMaterials(Renderer)
MustExtensions.MustBeEqual<T>(T, T)
MustExtensions.MustBeEqual<T>(T, T, String)
MustExtensions.MustNotBeEqual<T>(T, T)
MustExtensions.MustNotBeEqual<T>(T, T, String)
MustExtensions.MustBeNull<T>(T)
MustExtensions.MustBeNull<T>(T, String)
MustExtensions.MustNotBeNull<T>(T)
MustExtensions.MustNotBeNull<T>(T, String)
  • Improve this Doc
  • View Source
Back to top Generated by DocFX