GE Lua Documentation

Press F to search!

getAxisGizmoScale

Definition


-- @/=[C]:-1
function getAxisGizmoScale(...)

Callers

@/lua/ge/extensions/editor/api/gizmo.lua
--- Return the axis gizmo current scale as a Point3F object.
local function getAxisGizmoScale()
  return worldEditorCppApi.getAxisGizmoScale()
local function getAxisGizmoScale()
  return worldEditorCppApi.getAxisGizmoScale()
end
@/lua/ge/extensions/editor/dragRaceEditor/strips.lua
  elseif editor.getAxisGizmoMode() == editor.AxisGizmoMode_Scale then
    local sclVec = vec3(worldEditorCppApi.getAxisGizmoScale())
    waypoint.transform.scale = {x = sclVec.x, y = sclVec.y, z = sclVec.z}
  elseif editor.getAxisGizmoMode() == editor.AxisGizmoMode_Scale then
    local sclVec = vec3(worldEditorCppApi.getAxisGizmoScale())
    boundary.transform.scale = {x = sclVec.x, y = sclVec.y, z = sclVec.z}
@/lua/ge/extensions/editor/rallyEditor/pacenotes.lua
  elseif editor.getAxisGizmoMode() == editor.AxisGizmoMode_Scale then
    local scl = vec3(worldEditorCppApi.getAxisGizmoScale())
    if scl.x ~= 1 then
@/lua/ge/extensions/editor/raceEditor/pathnodes.lua
  elseif editor.getAxisGizmoMode() == editor.AxisGizmoMode_Scale then
    local scl = vec3(worldEditorCppApi.getAxisGizmoScale())
    if scl.x ~= 1 then
@/lua/ge/extensions/editor/util/transformUtil.lua
    if self.oneDimensionalScale then
      local scl = vec3(worldEditorCppApi.getAxisGizmoScale())
      if scl.x ~= 1 then
    else
      local scl = vec3(worldEditorCppApi.getAxisGizmoScale())
      self.scl = self.beginDragScl:componentMul(scl)
@/lua/ge/extensions/editor/raceEditor/segments.lua
  elseif editor.getAxisGizmoMode() == editor.AxisGizmoMode_Scale then
    local scl = vec3(worldEditorCppApi.getAxisGizmoScale())
    if scl.x ~= 1 then
@/lua/ge/extensions/editor/meshEditor.lua
    for id, _ in pairs(selectedNodes) do
      editor.setNodeWidth(selectedMesh, id, originalWidths[id] + (editor.getAxisGizmoScale().x - 1))
      editor.setNodeDepth(selectedMesh, id, originalDepths[id] + (editor.getAxisGizmoScale().z - 1))
      editor.setNodeWidth(selectedMesh, id, originalWidths[id] + (editor.getAxisGizmoScale().x - 1))
      editor.setNodeDepth(selectedMesh, id, originalDepths[id] + (editor.getAxisGizmoScale().z - 1))
    end
@/lua/ge/extensions/editor/raceEditor/pacenotes.lua
  elseif editor.getAxisGizmoMode() == editor.AxisGizmoMode_Scale then
    local scl = vec3(worldEditorCppApi.getAxisGizmoScale())
    if scl.x ~= 1 then
@/lua/ge/extensions/editor/decalEditor.lua
  elseif editor.getAxisGizmoMode() == editor.AxisGizmoMode_Scale then
    local scale = editor.getAxisGizmoScale()
    for id, instance in pairs(selectedInstances) do
@/lua/ge/extensions/flowgraph/nodes/types/transform.lua
  elseif editor.getAxisGizmoMode() == editor.AxisGizmoMode_Scale then
    local scl = vec3(worldEditorCppApi.getAxisGizmoScale())
    self.scale = vec3(self._beginDragScale):componentMul(scl)
@/lua/ge/extensions/editor/crawlEditor/waypoints.lua
  elseif editor.getAxisGizmoMode() == editor.AxisGizmoMode_Scale then
    local sclVec = vec3(worldEditorCppApi.getAxisGizmoScale())
    local scl = 1
@/lua/ge/extensions/editor/sitesEditor/locations.lua
  elseif editor.getAxisGizmoMode() == editor.AxisGizmoMode_Scale then
    local scl = vec3(worldEditorCppApi.getAxisGizmoScale())
    if scl.x ~= 1 then