public IntersectRayComponent(MyVoxelDebugInputComponent comp) { m_comp = comp; AddShortcut(MyKeys.OemOpenBrackets, true, false, false, false, () => "Toggle voxel probe ray.", () => ToggleProbeRay()); AddShortcut(MyKeys.OemBackslash, true, false, false, false, () => "Freeze/Unfreeze probe", () => FreezeProbe()); }
public IntersectRayComponent(MyVoxelDebugInputComponent comp) { m_comp = comp; AddShortcut(MyKeys.OemOpenBrackets, true, false, false, false, () => "Toggle voxel probe ray.", () => ToggleProbeRay()); AddShortcut(MyKeys.OemBackslash, true, false, false, false, () => "Freeze/Unfreeze probe", () => FreezeProbe()); }
public StorageWriteCacheComponent(MyVoxelDebugInputComponent comp) { m_comp = comp; AddShortcut(MyKeys.NumPad1, true, false, false, false, () => "Toggle detailed details.", () => DisplayDetails = !DisplayDetails); AddShortcut(MyKeys.NumPad2, true, false, false, false, () => "Toggle debug draw.", () => DebugDraw = !DebugDraw); AddShortcut(MyKeys.NumPad3, true, false, false, false, () => "Toggle cache writing.", ToggleWrite); AddShortcut(MyKeys.NumPad4, true, false, false, false, () => "Toggle cache flushing.", ToggleFlush); AddShortcut(MyKeys.NumPad5, true, false, false, false, () => "Toggle cache.", ToggleCache); }
public StorageWriteCacheComponent(MyVoxelDebugInputComponent comp) { m_comp = comp; AddShortcut(MyKeys.NumPad1, true, false, false, false, () => "Toggle detailed details.", () => DisplayDetails = !DisplayDetails); AddShortcut(MyKeys.NumPad2, true, false, false, false, () => "Toggle debug draw.", () => DebugDraw = !DebugDraw); AddShortcut(MyKeys.NumPad3, true, false, false, false, () => "Toggle cache writing.", ToggleWrite); AddShortcut(MyKeys.NumPad4, true, false, false, false, () => "Toggle cache flushing.", ToggleFlush); AddShortcut(MyKeys.NumPad5, true, false, false, false, () => "Toggle cache.", ToggleCache); }
public PhysicsComponent(MyVoxelDebugInputComponent comp) { m_comp = comp; Static = this; AddShortcut(MyKeys.NumPad8, true, false, false, false, () => "Clear boxes", () => { m_list.ClearList(); return false; }); }
public PhysicsComponent(MyVoxelDebugInputComponent comp) { m_comp = comp; Static = this; AddShortcut(MyKeys.NumPad8, true, false, false, false, () => "Clear boxes", () => { m_list.ClearList(); return(false); }); }
public IntersectBBComponent(MyVoxelDebugInputComponent comp) { m_comp = comp; AddShortcut(MyKeys.OemOpenBrackets, true, false, false, false, () => "Toggle voxel probe box.", () => ToggleProbeBox()); AddShortcut(MyKeys.OemCloseBrackets, true, false, false, false, () => "Toggle probe mode", () => SwitchProbeMode()); AddShortcut(MyKeys.OemBackslash, true, false, false, false, () => "Freeze/Unfreeze probe", () => FreezeProbe()); AddShortcut(MyKeys.OemSemicolon, true, false, false, false, () => "Increase Probe Size.", () => ResizeProbe(1, 0)); AddShortcut(MyKeys.OemSemicolon, true, true, false, false, () => "Decrease Probe Size.", () => ResizeProbe(-1, 0)); AddShortcut(MyKeys.OemSemicolon, true, false, true, false, () => "Increase Probe Size (x128).", () => ResizeProbe(128, 0)); AddShortcut(MyKeys.OemSemicolon, true, true, true, false, () => "Decrease Probe Size (x128).", () => ResizeProbe(-128, 0)); AddShortcut(MyKeys.OemQuotes, true, false, false, false, () => "Increase LOD Size.", () => ResizeProbe(0, 1)); AddShortcut(MyKeys.OemQuotes, true, true, false, false, () => "Decrease LOD Size.", () => ResizeProbe(0, -1)); }
public ToolsComponent(MyVoxelDebugInputComponent comp) { m_comp = comp; AddShortcut(MyKeys.NumPad8, true, false, false, false, () => "Shrink selected storage to fit.", () => StorageShrinkToFit()); }
public ToolsComponent(MyVoxelDebugInputComponent comp) { m_comp = comp; AddShortcut(MyKeys.NumPad8, true, false, false, false, () => "Shrink selected storage to fit.", () => StorageShrinkToFit()); }