Verse API reference page for the ToString function
Makes a string representation of rotation in axis/degrees format with a right-handed sign convention.
ToString(MakeRotationRadians(vector3{Left:=0.0, Up:=0.0, Forward:=1.0}, PiFloat/2.0)) produces the string: "{Axis = {Left=0.000000, Up=0.000000, Forward=1.000000}, Angle = 90.000000}".
Verse using statement |
using { /Verse.org/SpatialMath } |
ToString<public>(Rotation:rotation)<reads><computes>:[]char
Parameters
ToString takes the following parameters:
| Name | Type | Description |
|---|---|---|
Rotation |
rotation |
Attributes, Specifiers, and Effects
Specifiers
The following specifiers determine how you can interact with ToString in your programs. For the complete list of specifiers, see the Specifiers Page.
| Specifier | Meaning |
|---|---|
public |
The identifier is universally accessible. You can use this on modules, classes, interfaces, structs, enums, methods, and data. |
Effects
The following effects determine how ToString behaves in your programs. For the complete list of effects, see the Effect Specifers section of the Specifiers Page.
You're reading a preview
The full reference is free for BrainDeadGuild Discord members — sign in to read it all, or open the original at the source.
Sign in with your BrainDead.TV / BrainDeadGuild Discord account for full access.