UnityEngineRenderer
API reference for UnityEngineRenderer.
Properties
| Property | Type | Access |
|---|---|---|
| allowOcclusionWhenDynamic | bool | get, set |
| bounds | UnityEngineBounds | get, set |
| enabled | bool | get, set |
| forceRenderingOff | bool | get, set |
| gameObject | GameObject | get |
| isPartOfStaticBatch | bool | get |
| isVisible | bool | get |
| lightmapIndex | int | get, set |
| lightmapScaleOffset | Vector4 | get, set |
| lightProbeProxyVolumeOverride | GameObject | get, set |
| lightProbeUsage | UnityEngineRenderingLightProbeUsage | get, set |
| localBounds | UnityEngineBounds | get, set |
| localToWorldMatrix | UnityEngineMatrix4x4 | get |
| material | UnityEngineMaterial | get, set |
| materials | UnityEngineMaterial[] | get, set |
| motionVectorGenerationMode | UnityEngineMotionVectorGenerationMode | get, set |
| name | string | get, set |
| probeAnchor | Transform | get, set |
| realtimeLightmapIndex | int | get, set |
| realtimeLightmapScaleOffset | Vector4 | get, set |
| receiveShadows | bool | get, set |
| reflectionProbeUsage | UnityEngineRenderingReflectionProbeUsage | get, set |
| rendererPriority | int | get, set |
| renderingLayerMask | uint | get, set |
| shadowCastingMode | UnityEngineRenderingShadowCastingMode | get, set |
| sharedMaterial | UnityEngineMaterial | get, set |
| sharedMaterials | UnityEngineMaterial[] | get, set |
| sortingLayerID | int | get, set |
| sortingLayerName | string | get, set |
| sortingOrder | int | get, set |
| staticShadowCaster | bool | get, set |
| transform | Transform | get |
| worldToLocalMatrix | UnityEngineMatrix4x4 | get |
Methods
Equals
Equals(other: object) -> boolGetClosestReflectionProbes
GetClosestReflectionProbes(result: SystemCollectionsGenericList`1[[UnityEngineRenderingReflectionProbeBlendInfo, UnityEngineCoreModule, Version=0000, Culture=neutral, PublicKeyToken=null]]) -> voidGetComponent
GetComponent(type: string) -> UnityEngineComponentGetComponent(type: SystemType) -> UnityEngineComponentGetComponent(type: SystemType) -> UnityEngineObjectGetComponentInChildren
GetComponentInChildren(includeInactive: bool, type: SystemType) -> UnityEngineObjectGetComponentInChildren(t: SystemType, includeInactive: bool) -> UnityEngineComponentGetComponentInChildren(t: SystemType) -> UnityEngineComponentGetComponentInChildren(type: SystemType) -> UnityEngineObjectGetComponentInParent
GetComponentInParent(includeInactive: bool, type: SystemType) -> UnityEngineObjectGetComponentInParent(t: SystemType, includeInactive: bool) -> UnityEngineComponentGetComponentInParent(t: SystemType) -> UnityEngineComponentGetComponentInParent(type: SystemType) -> UnityEngineObjectGetComponents
GetComponents(results: SystemCollectionsGenericList`1[[UnityEngineObject, UnityEngineCoreModule, Version=0000, Culture=neutral, PublicKeyToken=null]], type: SystemType) -> voidGetComponents(type: SystemType, results: SystemCollectionsGenericList`1[[UnityEngineComponent, UnityEngineCoreModule, Version=0000, Culture=neutral, PublicKeyToken=null]]) -> voidGetComponents(type: SystemType) -> UnityEngineComponent[]GetComponents(type: SystemType) -> UnityEngineObject[]GetComponentsInChildren
GetComponentsInChildren(results: SystemCollectionsGenericList`1[[UnityEngineObject, UnityEngineCoreModule, Version=0000, Culture=neutral, PublicKeyToken=null]], type: SystemType) -> voidGetComponentsInChildren(includeInactive: bool, result: SystemCollectionsGenericList`1[[UnityEngineObject, UnityEngineCoreModule, Version=0000, Culture=neutral, PublicKeyToken=null]]) -> voidGetComponentsInChildren(includeInactive: bool, type: SystemType) -> UnityEngineObject[]GetComponentsInChildren(t: SystemType, includeInactive: bool) -> UnityEngineComponent[]GetComponentsInChildren(t: SystemType) -> UnityEngineComponent[]GetComponentsInChildren(type: SystemType) -> UnityEngineObject[]GetComponentsInParent
GetComponentsInParent(includeInactive: bool, results: SystemCollectionsGenericList`1[[UnityEngineObject, UnityEngineCoreModule, Version=0000, Culture=neutral, PublicKeyToken=null]]) -> voidGetComponentsInParent(includeInactive: bool, type: SystemType) -> UnityEngineObject[]GetComponentsInParent(t: SystemType, includeInactive: bool) -> UnityEngineComponent[]GetComponentsInParent(t: SystemType) -> UnityEngineComponent[]GetComponentsInParent(type: SystemType) -> UnityEngineObject[]GetHashCode
GetHashCode() -> intGetInstanceID
GetInstanceID() -> intGetMaterials
GetMaterials(m: SystemCollectionsGenericList`1[[UnityEngineMaterial, UnityEngineCoreModule, Version=0000, Culture=neutral, PublicKeyToken=null]]) -> voidGetPropertyBlock
GetPropertyBlock(properties: UnityEngineMaterialPropertyBlock, materialIndex: int) -> voidGetPropertyBlock(properties: UnityEngineMaterialPropertyBlock) -> voidGetSharedMaterials
GetSharedMaterials(m: SystemCollectionsGenericList`1[[UnityEngineMaterial, UnityEngineCoreModule, Version=0000, Culture=neutral, PublicKeyToken=null]]) -> voidGetType
GetType() -> SystemTypeHasPropertyBlock
HasPropertyBlock() -> boolResetBounds
ResetBounds() -> voidResetLocalBounds
ResetLocalBounds() -> voidSetMaterials
SetMaterials(materials: SystemCollectionsGenericList`1[[UnityEngineMaterial, UnityEngineCoreModule, Version=0000, Culture=neutral, PublicKeyToken=null]]) -> voidSetPropertyBlock
SetPropertyBlock(properties: UnityEngineMaterialPropertyBlock, materialIndex: int) -> voidSetPropertyBlock(properties: UnityEngineMaterialPropertyBlock) -> voidSetSharedMaterials
SetSharedMaterials(materials: SystemCollectionsGenericList`1[[UnityEngineMaterial, UnityEngineCoreModule, Version=0000, Culture=neutral, PublicKeyToken=null]]) -> voidToString
ToString() -> string