MeshRenderer¶
More information can be found in the Unity API Reference and maybe in the Unity Manual.
Constructors¶
Constructor |
Description |
---|---|
Members¶
Member |
Description |
---|---|
Methods¶
Method |
Description |
---|---|
Details¶
-
class
MeshRenderer
¶ -
MeshRenderer
MeshRenderer
()¶
-
bool
allowOcclusionWhenDynamic
¶
-
bool
enabled
¶
-
bool
forceRenderingOff
¶
-
const GameObject
gameObject
¶
-
const bool
isPartOfStaticBatch
¶
-
const bool
isVisible
¶
-
int
lightmapIndex
¶
-
GameObject
lightProbeProxyVolumeOverride
¶
-
string
name
¶
-
int
realtimeLightmapIndex
¶
-
bool
receiveShadows
¶
-
int
rendererPriority
¶
-
UInt32
renderingLayerMask
¶
-
ShadowCastingMode
shadowCastingMode
¶
-
int
sortingLayerID
¶
-
string
sortingLayerName
¶
-
int
sortingOrder
¶
-
const int
subMeshStartIndex
¶
-
string
tag
¶
-
bool
CompareTag
(string tag)¶
-
int
GetHashCode
()¶
-
bool
HasPropertyBlock
()¶
-
string
ToString
()¶
-
MeshRenderer