# Convert 3D Rotation To String

FlagsFunction

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 X
  • fixed — Forward Y
  • fixed — Forward Z
  • fixed — Up X
  • fixed — Up Y
  • fixed — 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,
);

Category: Conversion / Actor Conversions

# Examples

mods/core.sc2modbase.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.sc2modbase.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.stormmodbase.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.stormmodbase.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));
}