Renderer

More information can be found in the Unity API Reference

Constructors

Constructor

Description

Renderer()

Members

Member

Description

allowOcclusionWhenDynamic

bounds

enabled

forceRenderingOff

gameObject

isPartOfStaticBatch

isVisible

lightmapIndex

lightmapScaleOffset

lightProbeProxyVolumeOverride

localToWorldMatrix

material

materials

name

probeAnchor

realtimeLightmapIndex

realtimeLightmapScaleOffset

receiveShadows

rendererPriority

renderingLayerMask

shadowCastingMode

sharedMaterial

sharedMaterials

sortingLayerID

sortingLayerName

sortingOrder

tag

transform

worldToLocalMatrix

Methods

Method

Description

CompareTag(tag)

GetHashCode()

GetMaterials(m)

GetSharedMaterials(m)

HasPropertyBlock()

ToString()

Details

class Renderer
Renderer Renderer()
bool allowOcclusionWhenDynamic
const Bounds bounds
bool enabled
bool forceRenderingOff
const GameObject gameObject
const bool isPartOfStaticBatch
const bool isVisible
int lightmapIndex
Vector4 lightmapScaleOffset
GameObject lightProbeProxyVolumeOverride
const Matrix4x4 localToWorldMatrix
Material material
array<Material> materials
string name
Transform probeAnchor
int realtimeLightmapIndex
Vector4 realtimeLightmapScaleOffset
bool receiveShadows
int rendererPriority
UInt32 renderingLayerMask
ShadowCastingMode shadowCastingMode
Material sharedMaterial
array<Material> sharedMaterials
int sortingLayerID
string sortingLayerName
int sortingOrder
string tag
const Transform transform
const Matrix4x4 worldToLocalMatrix
bool CompareTag(string tag)
int GetHashCode()
void GetMaterials(array<Material> m)
void GetSharedMaterials(array<Material> m)
bool HasPropertyBlock()
string ToString()