# Convert 3D Rotation To String
Flags —
Function
Converts and combines the Forward X,Y,Z parameters, and the Up X,Y,Z parameters, into a string with the format “
# Arguments
fixed
— Forward Xfixed
— Forward Yfixed
— Forward Zfixed
— Up Xfixed
— Up Yfixed
— Up Z
Returns — string
string libNtve_gf_Convert3DRotationToString(
fixed lp_forwardX,
fixed lp_forwardY,
fixed lp_forwardZ,
fixed lp_upX,
fixed lp_upY,
fixed lp_upZ,
);
# Related
Category: Conversion / Actor Conversions
- Convert Color To String —
string
— libNtve_gf_ConvertColorToString - Convert Bearings To String —
string
— libNtve_gf_ConvertBearingsToString - Convert XY To String —
string
— libNtve_gf_ConvertXYToString - Convert 3D Vector To String —
string
— libNtve_gf_Convert3DVectorToString - Convert 3D Rotation To String —
string
— libNtve_gf_Convert3DRotationToString - Convert String To Actor Message
# Examples
mods/core.sc2mod — base.sc2data/TriggerLibs/NativeLib.galaxy:934
// Automatic Variable Declarations
// Implementation
return libNtve_gf_ActorMsg1("SetRotation", libNtve_gf_Convert3DRotationToString(lp_forwardX, lp_forwardY, lp_forwardZ, lp_upX, lp_upY, lp_upZ));
}
mods/core.sc2mod — base.sc2data/TriggerLibs/NativeLib.galaxy:2249
// Automatic Variable Declarations
// Implementation
return (libNtve_gf_Convert3DVectorToString(lp_positionX, lp_positionY, lp_positionZ) + " " + libNtve_gf_Convert3DRotationToString(lp_forwardX, lp_forwardY, lp_forwardZ, lp_upX, lp_upY, lp_upZ));
}
mods/core.stormmod — base.stormdata/TriggerLibs/NativeLib.galaxy:823
// Automatic Variable Declarations
// Implementation
return libNtve_gf_ActorMsg1("SetRotation", libNtve_gf_Convert3DRotationToString(lp_forwardX, lp_forwardY, lp_forwardZ, lp_upX, lp_upY, lp_upZ));
}
mods/core.stormmod — base.stormdata/TriggerLibs/NativeLib.galaxy:1933
// Automatic Variable Declarations
// Implementation
return (libNtve_gf_Convert3DVectorToString(lp_positionX, lp_positionY, lp_positionZ) + " " + libNtve_gf_Convert3DRotationToString(lp_forwardX, lp_forwardY, lp_forwardZ, lp_upX, lp_upY, lp_upZ));
}