Renderer

More information can be found in the Unity API Reference and maybe in the Unity Manual.

Constructors

Constructor

Description

Renderer()

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()