Sinespace Client
2023.2.17543
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. More... | |
SVector | GetPosition (int index) |
Get the position of a vertex in the trail. More... | |
Properties | |
bool | Enabled [get, set] |
Whether the trailRender component is enabled or not More... | |
bool | ReceiveShadows [get, set] |
Does this object receive shadows? More... | |
bool | IsVisible [get] |
Is this renderer visible in any camera? More... | |
bool | CastShadows [get, set] |
Does this object cast shadows? More... | |
bool | MotionVectors [get, set] |
Does the mode specifie for motion vector rendering. More... | |
bool | UseLightProbes [get, set] |
Does this object use light probes More... | |
float | Time [get, set] |
How long does the trail take to fade out. More... | |
float | StartWidth [get, set] |
The width of the trail at the spawning point. More... | |
float | EndWidth [get, set] |
The width of the trail at the end of the trail. More... | |
float | WidthMultiplier [get, set] |
Set an overall multiplier that is applied to the TrailRenderer.WidthCurve to get the final width of the trail. More... | |
SColor | StartColor [get, set] |
Set the color at the start of the trail. More... | |
SColor | EndColor [get, set] |
Set the color at the end of the trail. More... | |
bool | Autodestruct [get, set] |
Does the GameObject of this Trail Renderer auto destruct? More... | |
int | NumCornerVertices [get, set] |
Set this to a value greater than 0, to get rounded corners between each segment of the trail. More... | |
int | NumCapVertices [get, set] |
Set this to a value greater than 0, to get rounded corners on each end of the trail More... | |
float | MinVertexDistance [get, set] |
Set the minimum distance the trail can travel before a new vertex is added to it. More... | |
int | TextureMode [get, set] |
Return the correspond value of the texturemode More... | |
int | Alignment [get, set] |
Select whether the trail will face the camera, or the orientation of the Transform component. More... | |
int | PositionCount [get] |
Get the number of line segments in the trail. More... | |
Properties inherited from ScriptClassComponent< TrailRenderer > | |
SGameObject | GameObject [get] |
Return the GameObject which component added. More... | |
void SineSpace.Scripting.Components.STrailRenderer.Clear | ( | ) |
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.