UnityTrailRenderer
represents a Unity trail renderer.
Details
- UnityTrailRenderer
is a object that represents an existing TrailRenderer object in the Unity game engine.
- UnityTrailRenderer
is typically generated by functions such as CreateUnityTrailRenderer.
- UnityTrailRenderer
gives a list of possible properties.
- The value associated with a given property "prop" can be extracted using UnityTrailRenderer
.
- You can make an assignment like UnityTrailRenderer
to modify a property of the object.
Examples
open allclose allBasic Examples (1)Summary of the most common use cases
Load the package and open a project:

https://wolfram.com/xid/0fn81y7pg0j4j18gv4ro0au-i9rs1

https://wolfram.com/xid/0fn81y7pg0j4j18gv4ro0au-ejzug9
Create a Unity trail renderer:

https://wolfram.com/xid/0fn81y7pg0j4j18gv4ro0au-yulsnf


https://wolfram.com/xid/0fn81y7pg0j4j18gv4ro0au-nsf6ie

Delete the Unity trail renderer:

https://wolfram.com/xid/0fn81y7pg0j4j18gv4ro0au-h1bm2k
Properties & Relations (4)Properties of the function, and connections to other functions
UnityTrailRendererQ checks if an expression is a UnityTrailRenderer:

https://wolfram.com/xid/0fn81y7pg0j4j18gv4ro0au-zzwj4d


https://wolfram.com/xid/0fn81y7pg0j4j18gv4ro0au-zqryn8

PropertyList returns all available properties of the trail renderer.

https://wolfram.com/xid/0fn81y7pg0j4j18gv4ro0au-kgsb80


https://wolfram.com/xid/0fn81y7pg0j4j18gv4ro0au-5mjsp7

PropertyValue returns the value of the specified property.

https://wolfram.com/xid/0fn81y7pg0j4j18gv4ro0au-wol1l0


https://wolfram.com/xid/0fn81y7pg0j4j18gv4ro0au-t1bnqj

SetProperty changes the specified property of the trail renderer.

https://wolfram.com/xid/0fn81y7pg0j4j18gv4ro0au-o6plun


https://wolfram.com/xid/0fn81y7pg0j4j18gv4ro0au-xl25i5

https://wolfram.com/xid/0fn81y7pg0j4j18gv4ro0au-xry6wk

Wolfram Research (2019), UnityTrailRenderer, Wolfram Language function, https://reference.wolfram.com/language/UnityLink/ref/UnityTrailRenderer.html.
Text
Wolfram Research (2019), UnityTrailRenderer, Wolfram Language function, https://reference.wolfram.com/language/UnityLink/ref/UnityTrailRenderer.html.
Wolfram Research (2019), UnityTrailRenderer, Wolfram Language function, https://reference.wolfram.com/language/UnityLink/ref/UnityTrailRenderer.html.
CMS
Wolfram Language. 2019. "UnityTrailRenderer." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/UnityLink/ref/UnityTrailRenderer.html.
Wolfram Language. 2019. "UnityTrailRenderer." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/UnityLink/ref/UnityTrailRenderer.html.
APA
Wolfram Language. (2019). UnityTrailRenderer. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/UnityLink/ref/UnityTrailRenderer.html
Wolfram Language. (2019). UnityTrailRenderer. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/UnityLink/ref/UnityTrailRenderer.html
BibTeX
@misc{reference.wolfram_2022_unitytrailrenderer, author="Wolfram Research", title="{UnityTrailRenderer}", year="2019", howpublished="\url{https://reference.wolfram.com/language/UnityLink/ref/UnityTrailRenderer.html}", note=[Accessed: 03-April-2025
]}
BibLaTeX
@online{reference.wolfram_2022_unitytrailrenderer, organization={Wolfram Research}, title={UnityTrailRenderer}, year={2019}, url={https://reference.wolfram.com/language/UnityLink/ref/UnityTrailRenderer.html}, note=[Accessed: 03-April-2025
]}