LineRenderer¶
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
LineRenderer
¶ -
LineRenderer
LineRenderer
()¶
-
bool
allowOcclusionWhenDynamic
¶
-
bool
enabled
¶
-
float
endWidth
¶
-
bool
forceRenderingOff
¶
-
const GameObject
gameObject
¶
-
bool
generateLightingData
¶
-
const bool
isPartOfStaticBatch
¶
-
const bool
isVisible
¶
-
int
lightmapIndex
¶
-
GameObject
lightProbeProxyVolumeOverride
¶
-
bool
loop
¶
-
string
name
¶
-
int
numCapVertices
¶
-
int
numCornerVertices
¶
-
int
positionCount
¶
-
int
realtimeLightmapIndex
¶
-
bool
receiveShadows
¶
-
int
rendererPriority
¶
-
UInt32
renderingLayerMask
¶
-
float
shadowBias
¶
-
ShadowCastingMode
shadowCastingMode
¶
-
int
sortingLayerID
¶
-
string
sortingLayerName
¶
-
int
sortingOrder
¶
-
float
startWidth
¶
-
string
tag
¶
-
bool
useWorldSpace
¶
-
AnimationCurve
widthCurve
¶
-
float
widthMultiplier
¶
-
bool
CompareTag
(string tag)¶
-
int
GetHashCode
()¶
-
bool
HasPropertyBlock
()¶
-
void
SetPositions
(array<Vector3> positions)
-
void
SetPositions
(array<Vector3> positions)
-
void
Simplify
(float tolerance)¶
-
string
ToString
()¶
-
LineRenderer