using System; using System.Runtime.CompilerServices; using UnityEngine.Scripting; namespace UnityEngine { // Token: 0x02000055 RID: 85 public sealed class LineRenderer : Renderer { // Token: 0x17000176 RID: 374 // (get) Token: 0x06000620 RID: 1568 // (set) Token: 0x06000621 RID: 1569 public extern float startWidth { [GeneratedByOldBindingsGenerator] [MethodImpl(MethodImplOptions.InternalCall)] get; [GeneratedByOldBindingsGenerator] [MethodImpl(MethodImplOptions.InternalCall)] set; } // Token: 0x17000177 RID: 375 // (get) Token: 0x06000622 RID: 1570 // (set) Token: 0x06000623 RID: 1571 public extern float endWidth { [GeneratedByOldBindingsGenerator] [MethodImpl(MethodImplOptions.InternalCall)] get; [GeneratedByOldBindingsGenerator] [MethodImpl(MethodImplOptions.InternalCall)] set; } // Token: 0x17000178 RID: 376 // (get) Token: 0x06000624 RID: 1572 // (set) Token: 0x06000625 RID: 1573 public extern AnimationCurve widthCurve { [GeneratedByOldBindingsGenerator] [MethodImpl(MethodImplOptions.InternalCall)] get; [GeneratedByOldBindingsGenerator] [MethodImpl(MethodImplOptions.InternalCall)] set; } // Token: 0x17000179 RID: 377 // (get) Token: 0x06000626 RID: 1574 // (set) Token: 0x06000627 RID: 1575 public extern float widthMultiplier { [GeneratedByOldBindingsGenerator] [MethodImpl(MethodImplOptions.InternalCall)] get; [GeneratedByOldBindingsGenerator] [MethodImpl(MethodImplOptions.InternalCall)] set; } // Token: 0x1700017A RID: 378 // (get) Token: 0x06000628 RID: 1576 RVA: 0x000084F0 File Offset: 0x000066F0 // (set) Token: 0x06000629 RID: 1577 RVA: 0x00008510 File Offset: 0x00006710 public Color startColor { get { Color color; this.INTERNAL_get_startColor(out color); return color; } set { this.INTERNAL_set_startColor(ref value); } } // Token: 0x0600062A RID: 1578 [GeneratedByOldBindingsGenerator] [MethodImpl(MethodImplOptions.InternalCall)] private extern void INTERNAL_get_startColor(out Color value); // Token: 0x0600062B RID: 1579 [GeneratedByOldBindingsGenerator] [MethodImpl(MethodImplOptions.InternalCall)] private extern void INTERNAL_set_startColor(ref Color value); // Token: 0x1700017B RID: 379 // (get) Token: 0x0600062C RID: 1580 RVA: 0x0000851C File Offset: 0x0000671C // (set) Token: 0x0600062D RID: 1581 RVA: 0x0000853C File Offset: 0x0000673C public Color endColor { get { Color color; this.INTERNAL_get_endColor(out color); return color; } set { this.INTERNAL_set_endColor(ref value); } } // Token: 0x0600062E RID: 1582 [GeneratedByOldBindingsGenerator] [MethodImpl(MethodImplOptions.InternalCall)] private extern void INTERNAL_get_endColor(out Color value); // Token: 0x0600062F RID: 1583 [GeneratedByOldBindingsGenerator] [MethodImpl(MethodImplOptions.InternalCall)] private extern void INTERNAL_set_endColor(ref Color value); // Token: 0x1700017C RID: 380 // (get) Token: 0x06000630 RID: 1584 // (set) Token: 0x06000631 RID: 1585 public extern Gradient colorGradient { [GeneratedByOldBindingsGenerator] [MethodImpl(MethodImplOptions.InternalCall)] get; [GeneratedByOldBindingsGenerator] [MethodImpl(MethodImplOptions.InternalCall)] set; } // Token: 0x1700017D RID: 381 // (get) Token: 0x06000632 RID: 1586 // (set) Token: 0x06000633 RID: 1587 public extern int positionCount { [GeneratedByOldBindingsGenerator] [MethodImpl(MethodImplOptions.InternalCall)] get; [GeneratedByOldBindingsGenerator] [MethodImpl(MethodImplOptions.InternalCall)] set; } // Token: 0x1700017E RID: 382 // (get) Token: 0x06000634 RID: 1588 // (set) Token: 0x06000635 RID: 1589 [Obsolete("Use positionCount property (UnityUpgradable) -> positionCount")] public extern int numPositions { [GeneratedByOldBindingsGenerator] [MethodImpl(MethodImplOptions.InternalCall)] get; [GeneratedByOldBindingsGenerator] [MethodImpl(MethodImplOptions.InternalCall)] set; } // Token: 0x06000636 RID: 1590 RVA: 0x00008548 File Offset: 0x00006748 public void SetPosition(int index, Vector3 position) { LineRenderer.INTERNAL_CALL_SetPosition(this, index, ref position); } // Token: 0x06000637 RID: 1591 [GeneratedByOldBindingsGenerator] [MethodImpl(MethodImplOptions.InternalCall)] private static extern void INTERNAL_CALL_SetPosition(LineRenderer self, int index, ref Vector3 position); // Token: 0x06000638 RID: 1592 RVA: 0x00008554 File Offset: 0x00006754 public Vector3 GetPosition(int index) { Vector3 vector; LineRenderer.INTERNAL_CALL_GetPosition(this, index, out vector); return vector; } // Token: 0x06000639 RID: 1593 [GeneratedByOldBindingsGenerator] [MethodImpl(MethodImplOptions.InternalCall)] private static extern void INTERNAL_CALL_GetPosition(LineRenderer self, int index, out Vector3 value); // Token: 0x0600063A RID: 1594 [GeneratedByOldBindingsGenerator] [MethodImpl(MethodImplOptions.InternalCall)] public extern void SetPositions(Vector3[] positions); // Token: 0x0600063B RID: 1595 [GeneratedByOldBindingsGenerator] [MethodImpl(MethodImplOptions.InternalCall)] public extern int GetPositions(Vector3[] positions); // Token: 0x0600063C RID: 1596 [GeneratedByOldBindingsGenerator] [MethodImpl(MethodImplOptions.InternalCall)] public extern void Simplify(float tolerance); // Token: 0x1700017F RID: 383 // (get) Token: 0x0600063D RID: 1597 // (set) Token: 0x0600063E RID: 1598 public extern bool useWorldSpace { [GeneratedByOldBindingsGenerator] [MethodImpl(MethodImplOptions.InternalCall)] get; [GeneratedByOldBindingsGenerator] [MethodImpl(MethodImplOptions.InternalCall)] set; } // Token: 0x17000180 RID: 384 // (get) Token: 0x0600063F RID: 1599 // (set) Token: 0x06000640 RID: 1600 public extern bool loop { [GeneratedByOldBindingsGenerator] [MethodImpl(MethodImplOptions.InternalCall)] get; [GeneratedByOldBindingsGenerator] [MethodImpl(MethodImplOptions.InternalCall)] set; } // Token: 0x17000181 RID: 385 // (get) Token: 0x06000641 RID: 1601 // (set) Token: 0x06000642 RID: 1602 public extern int numCornerVertices { [GeneratedByOldBindingsGenerator] [MethodImpl(MethodImplOptions.InternalCall)] get; [GeneratedByOldBindingsGenerator] [MethodImpl(MethodImplOptions.InternalCall)] set; } // Token: 0x17000182 RID: 386 // (get) Token: 0x06000643 RID: 1603 // (set) Token: 0x06000644 RID: 1604 public extern int numCapVertices { [GeneratedByOldBindingsGenerator] [MethodImpl(MethodImplOptions.InternalCall)] get; [GeneratedByOldBindingsGenerator] [MethodImpl(MethodImplOptions.InternalCall)] set; } // Token: 0x17000183 RID: 387 // (get) Token: 0x06000645 RID: 1605 // (set) Token: 0x06000646 RID: 1606 public extern LineTextureMode textureMode { [GeneratedByOldBindingsGenerator] [MethodImpl(MethodImplOptions.InternalCall)] get; [GeneratedByOldBindingsGenerator] [MethodImpl(MethodImplOptions.InternalCall)] set; } // Token: 0x17000184 RID: 388 // (get) Token: 0x06000647 RID: 1607 // (set) Token: 0x06000648 RID: 1608 public extern LineAlignment alignment { [GeneratedByOldBindingsGenerator] [MethodImpl(MethodImplOptions.InternalCall)] get; [GeneratedByOldBindingsGenerator] [MethodImpl(MethodImplOptions.InternalCall)] set; } // Token: 0x17000185 RID: 389 // (get) Token: 0x06000649 RID: 1609 // (set) Token: 0x0600064A RID: 1610 public extern bool generateLightingData { [GeneratedByOldBindingsGenerator] [MethodImpl(MethodImplOptions.InternalCall)] get; [GeneratedByOldBindingsGenerator] [MethodImpl(MethodImplOptions.InternalCall)] set; } // Token: 0x0600064B RID: 1611 RVA: 0x00008574 File Offset: 0x00006774 [Obsolete("Use startWidth, endWidth or widthCurve instead.", false)] public void SetWidth(float start, float end) { this.startWidth = start; this.endWidth = end; } // Token: 0x0600064C RID: 1612 RVA: 0x00008588 File Offset: 0x00006788 [Obsolete("Use startColor, endColor or colorGradient instead.", false)] public void SetColors(Color start, Color end) { this.startColor = start; this.endColor = end; } // Token: 0x0600064D RID: 1613 RVA: 0x0000859C File Offset: 0x0000679C [Obsolete("Use numPositions instead.", false)] public void SetVertexCount(int count) { this.numPositions = count; } } }