Renderer
Component
Renderer
MeshRenderer
SkinnedMeshRenderer
SpriteRenderer

class:/TYPE/UnityEngine.Renderer//, can be loaded from an assetbundle using Renderer::createfromassetbundle(bundlename,prefabname) /

Parent

Component

Variables
allowocclusionwhendynamic
System.Boolean allowocclusionwhendynamic
bounds
UnityEngine.Bounds bounds
enabled
System.Boolean enabled
forcerenderingoff
System.Boolean forcerenderingoff
ispartofstaticbatch
readonly System.Boolean ispartofstaticbatch
isvisible
readonly System.Boolean isvisible
lightmapindex
System.Int32 lightmapindex
lightmapscaleoffset
UnityEngine.Vector4 lightmapscaleoffset
lightprobeproxyvolumeoverride
UnityEngine.GameObject lightprobeproxyvolumeoverride
lightprobeusage
UnityEngine.Rendering.LightProbeUsage lightprobeusage
localbounds
UnityEngine.Bounds localbounds
localtoworldmatrix
readonly UnityEngine.Matrix4x4 localtoworldmatrix
material
UnityEngine.Material material
materials
UnityEngine.Material[] materials
motionvectorgenerationmode
UnityEngine.MotionVectorGenerationMode motionvectorgenerationmode
probeanchor
UnityEngine.Transform probeanchor
raytracingmode
UnityEngine.Experimental.Rendering.RayTracingMode raytracingmode
realtimelightmapindex
System.Int32 realtimelightmapindex
realtimelightmapscaleoffset
UnityEngine.Vector4 realtimelightmapscaleoffset
receiveshadows
System.Boolean receiveshadows
reflectionprobeusage
UnityEngine.Rendering.ReflectionProbeUsage reflectionprobeusage
rendererpriority
System.Int32 rendererpriority
renderinglayermask
System.UInt32 renderinglayermask
shadowcastingmode
UnityEngine.Rendering.ShadowCastingMode shadowcastingmode
sharedmaterial
UnityEngine.Material sharedmaterial
sharedmaterials
UnityEngine.Material[] sharedmaterials
sortinglayerid
System.Int32 sortinglayerid
sortinglayername
System.String sortinglayername
sortingorder
System.Int32 sortingorder
staticshadowcaster
System.Boolean staticshadowcaster
worldtolocalmatrix
readonly UnityEngine.Matrix4x4 worldtolocalmatrix
Functions
getclosestreflectionprobes
System.Void GetClosestReflectionProbes(
System.Collections.Generic.List`1[[UnityEngine.Rendering.ReflectionProbeBlendInfo, UnityEngine.CoreModule, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null]] result
)

System.Collections.Generic.List`1[[UnityEngine.Rendering.ReflectionProbeBlendInfo, UnityEngine.CoreModule, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null]] result-no documentation

Parameters

System.Collections.Generic.List`1[[UnityEngine.Rendering.ReflectionProbeBlendInfo - UnityEngine.CoreModule - Version=0.0.0.0 - Culture=neutral - result -

Returns

System.Void

getmaterials
System.Void GetMaterials(
System.Collections.Generic.List`1[[UnityEngine.Material, UnityEngine.CoreModule, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null]] m
)

System.Collections.Generic.List`1[[UnityEngine.Material, UnityEngine.CoreModule, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null]] m-no documentation

Parameters

System.Collections.Generic.List`1[[UnityEngine.Material - UnityEngine.CoreModule - Version=0.0.0.0 - Culture=neutral - m -

Returns

System.Void

getpropertyblock
System.Void GetPropertyBlock(
UnityEngine.MaterialPropertyBlock properties
)

UnityEngine.MaterialPropertyBlock properties-no documentation

Parameters

properties -

Returns

System.Void

getpropertyblock
System.Void GetPropertyBlock(
UnityEngine.MaterialPropertyBlock properties,
System.Int32 materialIndex
)

UnityEngine.MaterialPropertyBlock properties-no documentation

Parameters
properties
UnityEngine.MaterialPropertyBlock

no documentation materialIndex -

Returns

System.Void

getsharedmaterials
System.Void GetSharedMaterials(
System.Collections.Generic.List`1[[UnityEngine.Material, UnityEngine.CoreModule, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null]] m
)

System.Collections.Generic.List`1[[UnityEngine.Material, UnityEngine.CoreModule, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null]] m-no documentation

Parameters

System.Collections.Generic.List`1[[UnityEngine.Material - UnityEngine.CoreModule - Version=0.0.0.0 - Culture=neutral - m -

Returns

System.Void

haspropertyblock
System.Boolean HasPropertyBlock()
Returns

System.Boolean

renderer::​create
static UnityEngine.Renderer Create ()

Constructor replaces new;

Returns

UnityEngine.Renderer

renderer::​fromassetbundle
static UnityEngine.Renderer CreateFromAssetBundle(
string bundle,
string objectname
)

Constructor for object from a bundle

Parameters
bundle
string

bundle name

objectname
string

object name with extension

Returns

UnityEngine.Renderer

resetbounds
System.Void ResetBounds()
Returns

System.Void

resetlocalbounds
System.Void ResetLocalBounds()
Returns

System.Void

setpropertyblock
System.Void SetPropertyBlock(
UnityEngine.MaterialPropertyBlock properties
)

UnityEngine.MaterialPropertyBlock properties-no documentation

Parameters

properties -

Returns

System.Void

setpropertyblock
System.Void SetPropertyBlock(
UnityEngine.MaterialPropertyBlock properties,
System.Int32 materialIndex
)

UnityEngine.MaterialPropertyBlock properties-no documentation

Parameters
properties
UnityEngine.MaterialPropertyBlock

no documentation materialIndex -

Returns

System.Void