MeshRenderer

More information can be found in the Unity API Reference

Constructors

Constructor

Description

MeshRenderer()

Members

Member

Description

additionalVertexStreams

allowOcclusionWhenDynamic

bounds

enabled

enlightenVertexStream

forceRenderingOff

gameObject

isPartOfStaticBatch

isVisible

lightmapIndex

lightmapScaleOffset

lightProbeProxyVolumeOverride

localToWorldMatrix

material

materials

name

probeAnchor

realtimeLightmapIndex

realtimeLightmapScaleOffset

receiveShadows

rendererPriority

renderingLayerMask

shadowCastingMode

sharedMaterial

sharedMaterials

sortingLayerID

sortingLayerName

sortingOrder

subMeshStartIndex

tag

transform

worldToLocalMatrix

Methods

Method

Description

CompareTag(tag)

GetHashCode()

GetMaterials(m)

GetSharedMaterials(m)

HasPropertyBlock()

ToString()

Details

class MeshRenderer
MeshRenderer MeshRenderer()
Mesh additionalVertexStreams
bool allowOcclusionWhenDynamic
const Bounds bounds
bool enabled
Mesh enlightenVertexStream
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
const int subMeshStartIndex
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()