FastLineRenderer Methods |
The FastLineRenderer type exposes the following members.
Name | Description | |
---|---|---|
AddLine(FastLineRendererProperties, Boolean, Boolean) |
Adds an individual line that is not meant to be joined to other lines
| |
AddLine(FastLineRendererProperties, IListVector3, ActionFastLineRendererProperties, Boolean, Boolean) |
Adds a line that starts at the first point in the list and ends at the last point of the list
| |
AddLines |
Add distinct line segments from a list. The list must contain start and end points, repeating for each segment.
| |
AppendArc |
Append an arc to the fast line renderer
| |
AppendCircle |
Append a circle to the fast line renderer
| |
AppendCurve |
Append a quad/bezier curve to the fast line renderer. The line curves from props.Start to props.End, using the two control points to curve.
| |
AppendGrid |
Append a grid
| |
AppendLine |
Append a line - End value of props is ignored, use Start field instead.
| |
AppendSpline |
Append a spline to the fast line renderer. Start and End in props is ignored.
| |
Apply |
Apply all line creations
| |
Apply(Boolean) | Obsolete.
Obslete. Use apply without a parameter. Mesh optimization is no longer needed as of Unity 5.5.
| |
BroadcastMessage(String) | Calls the method named methodName on every MonoBehaviour in this game object or any of its children. | |
BroadcastMessage(String, Object) | Calls the method named methodName on every MonoBehaviour in this game object or any of its children. | |
BroadcastMessage(String, SendMessageOptions) | Calls the method named methodName on every MonoBehaviour in this game object or any of its children. | |
BroadcastMessage(String, Object, SendMessageOptions) | Calls the method named methodName on every MonoBehaviour in this game object or any of its children. | |
CanAddLines |
Determines if lineCount lines can be added without creating a new mesh
| |
CancelInvoke | Cancels all Invoke calls on this MonoBehaviour. | |
CancelInvoke(String) | Cancels all Invoke calls with name methodName on this behaviour. | |
ChangePosition |
Changes the position of a single line segment.
This method does not support join styles.
You must call Apply to make the changes permanent.
Error will happen if index is out of range.
| |
CompareTag | Is this game object tagged with tag ? | |
CopyTo |
Copy the properties of this fast line renderer to another fast line renderer
| |
CreateWithParent |
Create a new FastLineRenderer or retrieve from cache if available
| |
EndLine |
Ends a line. use Start on props to specify the end point. Set LineType to EndCap to cap.
| |
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetComponent(Type) | Returns the component of Type type if the game object has one attached, null if it doesn't. | |
GetComponent(String) | Returns the component with name type if the game object has one attached, null if it doesn't. | |
GetComponent``1 | (Inherited from Component.) | |
GetComponentInChildren(Type) | Returns the component of Type type in the GameObject or any of its children using depth first search. | |
GetComponentInChildren(Type, Boolean) | (Inherited from Component.) | |
GetComponentInChildren``1 | (Inherited from Component.) | |
GetComponentInChildren``1(Boolean) | (Inherited from Component.) | |
GetComponentInParent(Type) | Returns the component of Type type in the GameObject or any of its parents. | |
GetComponentInParent``1 | (Inherited from Component.) | |
GetComponents(Type) | Returns all components of Type type in the GameObject. | |
GetComponents(Type, ListComponent) | (Inherited from Component.) | |
GetComponents``1 | (Inherited from Component.) | |
GetComponents``1(ListUMP) | (Inherited from Component.) | |
GetComponentsInChildren(Type) | Returns all components of Type type in the GameObject or any of its children. | |
GetComponentsInChildren(Type, Boolean) | Returns all components of Type type in the GameObject or any of its children. | |
GetComponentsInChildren``1 | (Inherited from Component.) | |
GetComponentsInChildren``1(Boolean) | (Inherited from Component.) | |
GetComponentsInChildren``1(ListUMP) | (Inherited from Component.) | |
GetComponentsInChildren``1(Boolean, ListUMP) | (Inherited from Component.) | |
GetComponentsInParent(Type) | (Inherited from Component.) | |
GetComponentsInParent(Type, Boolean) | Returns all components of Type type in the GameObject or any of its parents. | |
GetComponentsInParent``1 | (Inherited from Component.) | |
GetComponentsInParent``1(Boolean) | (Inherited from Component.) | |
GetComponentsInParent``1(Boolean, ListUMP) | (Inherited from Component.) | |
GetHashCode | (Inherited from Object.) | |
GetInstanceID | Returns the instance id of the object. | |
GetType | (Inherited from Object.) | |
Invoke | Invokes the method methodName in time seconds. | |
InvokeRepeating | Invokes the method methodName in time seconds, then repeatedly every repeatRate seconds. | |
IsInvoking | Is any invoke pending on this MonoBehaviour? | |
IsInvoking(String) | Is any invoke on methodName pending? | |
MemberwiseClone | (Inherited from Object.) | |
Reset |
Reset everything, remove all lines
| |
ResetAll |
Reset all FastLineRenderer objects in the scene - this is fast and does not rely on the slow Unity Find* methods.
| |
SendMessage(String) | Calls the method named methodName on every MonoBehaviour in this game object. | |
SendMessage(String, Object) | Calls the method named methodName on every MonoBehaviour in this game object. | |
SendMessage(String, SendMessageOptions) | Calls the method named methodName on every MonoBehaviour in this game object. | |
SendMessage(String, Object, SendMessageOptions) | Calls the method named methodName on every MonoBehaviour in this game object. | |
SendMessageUpwards(String) | Calls the method named methodName on every MonoBehaviour in this game object and on every ancestor of the behaviour. | |
SendMessageUpwards(String, Object) | Calls the method named methodName on every MonoBehaviour in this game object and on every ancestor of the behaviour. | |
SendMessageUpwards(String, SendMessageOptions) | Calls the method named methodName on every MonoBehaviour in this game object and on every ancestor of the behaviour. | |
SendMessageUpwards(String, Object, SendMessageOptions) | Calls the method named methodName on every MonoBehaviour in this game object and on every ancestor of the behaviour. | |
SendToCache |
Reset and then add this FastLineRenderer to the cache
| |
SendToCacheAfter |
Send this FastLineRenderer back to the cache after a certain time
| |
SetCapacity |
Set the capacity of all internal lists.
| |
StartCoroutine(IEnumerator) | Starts a coroutine. | |
StartCoroutine(String) | Starts a coroutine named methodName. | |
StartCoroutine(String, Object) | Starts a coroutine named methodName. | |
StartCoroutine_Auto | Obsolete. (Inherited from MonoBehaviour.) | |
StartLine |
Start a line. Start and End must be set on the properties. Set LineType to StartCap to cap.
| |
StopAllCoroutines | Stops all coroutines running on this behaviour. | |
StopCoroutine(String) | Stops the first coroutine named methodName, or the coroutine stored in routine running on this behaviour. | |
StopCoroutine(IEnumerator) | Stops the first coroutine named methodName, or the coroutine stored in routine running on this behaviour. | |
StopCoroutine(Coroutine) | Stops the first coroutine named methodName, or the coroutine stored in routine running on this behaviour. | |
ToString | Returns the name of the GameObject. |