Sinespace Client 2025.3.19431
Client-side scripting for Sinespace
|
Public Member Functions | |
void | Clear () |
Removes all points from the TrailRenderer. Useful for restarting a trail from a new position. | |
SVector | GetPosition (int index) |
Get the position of a vertex in the trail. | |
![]() | |
override void | Initialise (SScript runtime, object wrapper) |
![]() | |
void | ReportError (string error, bool fatal, UnityEngine.Object target=null) |
void | Initialise (SScript runtime, object wrapper) |
Properties | |
bool | Enabled [get, set] |
Whether the trailRender component is enabled or not. | |
bool | ReceiveShadows [get, set] |
Does this object receive shadows? | |
bool | IsVisible [get] |
Is this renderer visible in any camera? | |
bool | CastShadows [get, set] |
Does this object cast shadows? | |
bool | MotionVectors [get, set] |
Does the mode specifie for motion vector rendering. | |
bool | UseLightProbes [get, set] |
Does this object use light probes. | |
float | Time [get, set] |
How long does the trail take to fade out. | |
float | StartWidth [get, set] |
The width of the trail at the spawning point. | |
float | EndWidth [get, set] |
The width of the trail at the end of the trail. | |
float | WidthMultiplier [get, set] |
Set an overall multiplier that is applied to the TrailRenderer.WidthCurve to get the final width of the trail. | |
SColor | StartColor [get, set] |
Set the color at the start of the trail. | |
SColor | EndColor [get, set] |
Set the color at the end of the trail. | |
bool | Autodestruct [get, set] |
Does the GameObject of this Trail Renderer auto destruct? | |
int | NumCornerVertices [get, set] |
Set this to a value greater than 0, to get rounded corners between each segment of the trail. | |
int | NumCapVertices [get, set] |
Set this to a value greater than 0, to get rounded corners on each end of the trail. | |
float | MinVertexDistance [get, set] |
Set the minimum distance the trail can travel before a new vertex is added to it. | |
int | TextureMode [get, set] |
Return the correspond value of the texturemode. | |
int | Alignment [get, set] |
Select whether the trail will face the camera, or the orientation of the Transform component. | |
int | PositionCount [get] |
Get the number of line segments in the trail. | |
![]() | |
SGameObject | GameObject [get] |
Return the GameObject which component added. | |
![]() | |
override bool | Alive [get] |
Return if the component is alive. | |
![]() | |
T | _wrap [get] |
![]() | |
virtual bool | Alive [get] |
DynValue | CachedData [get, set] |
Additional Inherited Members | |
![]() | |
void | Initialise (SScript runtime) |
void SineSpace.Scripting.Components.STrailRenderer.Clear | ( | ) |
Removes all points from the TrailRenderer. Useful for restarting a trail from a new position.
SVector SineSpace.Scripting.Components.STrailRenderer.GetPosition | ( | int | index | ) |
Get the position of a vertex in the trail.
index | The index of the position to retrieve. |
|
getset |
Select whether the trail will face the camera, or the orientation of the Transform component.
|
getset |
Does the GameObject of this Trail Renderer auto destruct?
|
getset |
Does this object cast shadows?
|
getset |
Whether the trailRender component is enabled or not.
|
getset |
Set the color at the end of the trail.
|
getset |
The width of the trail at the end of the trail.
|
get |
Is this renderer visible in any camera?
|
getset |
Set the minimum distance the trail can travel before a new vertex is added to it.
|
getset |
Does the mode specifie for motion vector rendering.
|
getset |
Set this to a value greater than 0, to get rounded corners on each end of the trail.
|
getset |
Set this to a value greater than 0, to get rounded corners between each segment of the trail.
|
get |
Get the number of line segments in the trail.
|
getset |
Does this object receive shadows?
|
getset |
Set the color at the start of the trail.
|
getset |
The width of the trail at the spawning point.
|
getset |
Return the correspond value of the texturemode.
|
getset |
How long does the trail take to fade out.
|
getset |
Does this object use light probes.
|
getset |
Set an overall multiplier that is applied to the TrailRenderer.WidthCurve to get the final width of the trail.