MeshRenderer

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

Constructors

Constructor

Description

MeshRenderer()

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