Skip to content

UnityEngineLineRenderer

API reference for UnityEngineLineRenderer.

Properties

PropertyTypeAccess
alignmentUnityEngineLineAlignmentget, set
allowOcclusionWhenDynamicboolget, set
boundsUnityEngineBoundsget, set
colorGradientUnityEngineGradientget, set
enabledboolget, set
endColorColorget, set
endWidthfloatget, set
forceRenderingOffboolget, set
gameObjectGameObjectget
generateLightingDataboolget, set
isPartOfStaticBatchboolget
isVisibleboolget
lightmapIndexintget, set
lightmapScaleOffsetVector4get, set
lightProbeProxyVolumeOverrideGameObjectget, set
lightProbeUsageUnityEngineRenderingLightProbeUsageget, set
localBoundsUnityEngineBoundsget, set
localToWorldMatrixUnityEngineMatrix4x4get
loopboolget, set
maskInteractionUnityEngineSpriteMaskInteractionget, set
materialUnityEngineMaterialget, set
materialsUnityEngineMaterial[]get, set
motionVectorGenerationModeUnityEngineMotionVectorGenerationModeget, set
namestringget, set
numCapVerticesintget, set
numCornerVerticesintget, set
positionCountintget, set
probeAnchorTransformget, set
realtimeLightmapIndexintget, set
realtimeLightmapScaleOffsetVector4get, set
receiveShadowsboolget, set
reflectionProbeUsageUnityEngineRenderingReflectionProbeUsageget, set
rendererPriorityintget, set
renderingLayerMaskuintget, set
shadowBiasfloatget, set
shadowCastingModeUnityEngineRenderingShadowCastingModeget, set
sharedMaterialUnityEngineMaterialget, set
sharedMaterialsUnityEngineMaterial[]get, set
sortingLayerIDintget, set
sortingLayerNamestringget, set
sortingOrderintget, set
startColorColorget, set
startWidthfloatget, set
staticShadowCasterboolget, set
textureModeUnityEngineLineTextureModeget, set
textureScaleVector2get, set
transformTransformget
useWorldSpaceboolget, set
widthCurveUnityEngineAnimationCurveget, set
widthMultiplierfloatget, set
worldToLocalMatrixUnityEngineMatrix4x4get

Methods

BakeMesh

BakeMesh(mesh: UnityEngineMesh, useTransform: bool) -> void
BakeMesh(mesh: UnityEngineMesh, camera: UnityEngineCamera, useTransform: bool) -> void

Equals

Equals(other: object) -> bool

GetClosestReflectionProbes

GetClosestReflectionProbes(result: SystemCollectionsGenericList`1[[UnityEngineRenderingReflectionProbeBlendInfo, UnityEngineCoreModule, Version=0000, Culture=neutral, PublicKeyToken=null]]) -> void

GetComponent

GetComponent(type: string) -> UnityEngineComponent
GetComponent(type: SystemType) -> UnityEngineComponent
GetComponent(type: SystemType) -> UnityEngineObject

GetComponentInChildren

GetComponentInChildren(includeInactive: bool, type: SystemType) -> UnityEngineObject
GetComponentInChildren(t: SystemType, includeInactive: bool) -> UnityEngineComponent
GetComponentInChildren(t: SystemType) -> UnityEngineComponent
GetComponentInChildren(type: SystemType) -> UnityEngineObject

GetComponentInParent

GetComponentInParent(includeInactive: bool, type: SystemType) -> UnityEngineObject
GetComponentInParent(t: SystemType, includeInactive: bool) -> UnityEngineComponent
GetComponentInParent(t: SystemType) -> UnityEngineComponent
GetComponentInParent(type: SystemType) -> UnityEngineObject

GetComponents

GetComponents(results: SystemCollectionsGenericList`1[[UnityEngineObject, UnityEngineCoreModule, Version=0000, Culture=neutral, PublicKeyToken=null]], type: SystemType) -> void
GetComponents(type: SystemType, results: SystemCollectionsGenericList`1[[UnityEngineComponent, UnityEngineCoreModule, Version=0000, Culture=neutral, PublicKeyToken=null]]) -> void
GetComponents(type: SystemType) -> UnityEngineComponent[]
GetComponents(type: SystemType) -> UnityEngineObject[]

GetComponentsInChildren

GetComponentsInChildren(results: SystemCollectionsGenericList`1[[UnityEngineObject, UnityEngineCoreModule, Version=0000, Culture=neutral, PublicKeyToken=null]], type: SystemType) -> void
GetComponentsInChildren(includeInactive: bool, result: SystemCollectionsGenericList`1[[UnityEngineObject, UnityEngineCoreModule, Version=0000, Culture=neutral, PublicKeyToken=null]]) -> void
GetComponentsInChildren(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]]) -> void
GetComponentsInParent(includeInactive: bool, type: SystemType) -> UnityEngineObject[]
GetComponentsInParent(t: SystemType, includeInactive: bool) -> UnityEngineComponent[]
GetComponentsInParent(t: SystemType) -> UnityEngineComponent[]
GetComponentsInParent(type: SystemType) -> UnityEngineObject[]

GetHashCode

GetHashCode() -> int

GetInstanceID

GetInstanceID() -> int

GetMaterials

GetMaterials(m: SystemCollectionsGenericList`1[[UnityEngineMaterial, UnityEngineCoreModule, Version=0000, Culture=neutral, PublicKeyToken=null]]) -> void

GetPosition

GetPosition(index: int) -> Vector3

GetPositions

GetPositions(positions: Vector3[]) -> int

GetPropertyBlock

GetPropertyBlock(properties: UnityEngineMaterialPropertyBlock, materialIndex: int) -> void
GetPropertyBlock(properties: UnityEngineMaterialPropertyBlock) -> void

GetSharedMaterials

GetSharedMaterials(m: SystemCollectionsGenericList`1[[UnityEngineMaterial, UnityEngineCoreModule, Version=0000, Culture=neutral, PublicKeyToken=null]]) -> void

GetType

GetType() -> SystemType

HasPropertyBlock

HasPropertyBlock() -> bool

ResetBounds

ResetBounds() -> void

ResetLocalBounds

ResetLocalBounds() -> void

SetMaterials

SetMaterials(materials: SystemCollectionsGenericList`1[[UnityEngineMaterial, UnityEngineCoreModule, Version=0000, Culture=neutral, PublicKeyToken=null]]) -> void

SetPosition

SetPosition(index: int, position: Vector3) -> void

SetPositions

SetPositions(positions: Vector3[]) -> void

SetPropertyBlock

SetPropertyBlock(properties: UnityEngineMaterialPropertyBlock, materialIndex: int) -> void
SetPropertyBlock(properties: UnityEngineMaterialPropertyBlock) -> void

SetSharedMaterials

SetSharedMaterials(materials: SystemCollectionsGenericList`1[[UnityEngineMaterial, UnityEngineCoreModule, Version=0000, Culture=neutral, PublicKeyToken=null]]) -> void

Simplify

Simplify(tolerance: float) -> void

ToString

ToString() -> string