Class Renderer
Assembly: UnityEngine.dll
Syntax
[RequireComponent(typeof(Transform))]
public class Renderer : Component
Properties
allowOcclusionWhenDynamic
Declaration
public bool allowOcclusionWhenDynamic { get; set; }
Property Value
bounds
Declaration
public Bounds bounds { get; }
Property Value
enabled
Declaration
public bool enabled { get; set; }
Property Value
isPartOfStaticBatch
Declaration
public bool isPartOfStaticBatch { get; }
Property Value
isVisible
Declaration
public bool isVisible { get; }
Property Value
|
Improve this Doc
View Source
lightmapIndex
Declaration
public int lightmapIndex { get; set; }
Property Value
|
Improve this Doc
View Source
lightmapScaleOffset
Declaration
public Vector4 lightmapScaleOffset { get; set; }
Property Value
lightProbeProxyVolumeOverride
Declaration
public GameObject lightProbeProxyVolumeOverride { get; set; }
Property Value
lightProbeUsage
Declaration
public LightProbeUsage lightProbeUsage { get; set; }
Property Value
localToWorldMatrix
Declaration
public Matrix4x4 localToWorldMatrix { get; }
Property Value
|
Improve this Doc
View Source
material
Declaration
public Material material { get; set; }
Property Value
|
Improve this Doc
View Source
materials
Declaration
public Material[] materials { get; set; }
Property Value
motionVectorGenerationMode
Declaration
public MotionVectorGenerationMode motionVectorGenerationMode { get; set; }
Property Value
|
Improve this Doc
View Source
motionVectors
Declaration
[Obsolete("Use motionVectorGenerationMode instead.", false)]
public bool motionVectors { get; set; }
Property Value
probeAnchor
Declaration
public Transform probeAnchor { get; set; }
Property Value
|
Improve this Doc
View Source
realtimeLightmapIndex
Declaration
public int realtimeLightmapIndex { get; set; }
Property Value
|
Improve this Doc
View Source
realtimeLightmapScaleOffset
Declaration
public Vector4 realtimeLightmapScaleOffset { get; set; }
Property Value
receiveShadows
Declaration
public bool receiveShadows { get; set; }
Property Value
reflectionProbeUsage
Declaration
public ReflectionProbeUsage reflectionProbeUsage { get; set; }
Property Value
rendererPriority
Declaration
public int rendererPriority { get; set; }
Property Value
renderingLayerMask
Declaration
public uint renderingLayerMask { get; set; }
Property Value
shadowCastingMode
Declaration
public ShadowCastingMode shadowCastingMode { get; set; }
Property Value
|
Improve this Doc
View Source
sharedMaterial
Declaration
public Material sharedMaterial { get; set; }
Property Value
|
Improve this Doc
View Source
sharedMaterials
Declaration
public Material[] sharedMaterials { get; set; }
Property Value
sortingLayerID
Declaration
public int sortingLayerID { get; set; }
Property Value
sortingLayerName
Declaration
public string sortingLayerName { get; set; }
Property Value
sortingOrder
Declaration
public int sortingOrder { get; set; }
Property Value
|
Improve this Doc
View Source
useLightProbes
Declaration
[Obsolete("Use lightProbeUsage instead.", false)]
public bool useLightProbes { get; set; }
Property Value
worldToLocalMatrix
Declaration
public Matrix4x4 worldToLocalMatrix { get; }
Property Value
Methods
|
Improve this Doc
View Source
GetClosestReflectionProbes(List<ReflectionProbeBlendInfo>)
Declaration
public void GetClosestReflectionProbes(List<ReflectionProbeBlendInfo> result)
Parameters
|
Improve this Doc
View Source
GetMaterials(List<Material>)
Declaration
public void GetMaterials(List<Material> m)
Parameters
|
Improve this Doc
View Source
GetPropertyBlock(MaterialPropertyBlock)
Declaration
public void GetPropertyBlock(MaterialPropertyBlock properties)
Parameters
|
Improve this Doc
View Source
GetPropertyBlock(MaterialPropertyBlock, Int32)
Declaration
public void GetPropertyBlock(MaterialPropertyBlock properties, int materialIndex)
Parameters
|
Improve this Doc
View Source
GetSharedMaterials(List<Material>)
Declaration
public void GetSharedMaterials(List<Material> m)
Parameters
HasPropertyBlock()
Declaration
public bool HasPropertyBlock()
Returns
|
Improve this Doc
View Source
SetPropertyBlock(MaterialPropertyBlock)
Declaration
public void SetPropertyBlock(MaterialPropertyBlock properties)
Parameters
|
Improve this Doc
View Source
SetPropertyBlock(MaterialPropertyBlock, Int32)
Declaration
public void SetPropertyBlock(MaterialPropertyBlock properties, int materialIndex)
Parameters
Extension Methods