本文整理了Java中us.ihmc.simulationconstructionset.SimulationConstructionSet.setCameraDolly()
方法的一些代码示例,展示了SimulationConstructionSet.setCameraDolly()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。SimulationConstructionSet.setCameraDolly()
方法的具体详情如下:
包路径:us.ihmc.simulationconstructionset.SimulationConstructionSet
类名称:SimulationConstructionSet
方法名:setCameraDolly
暂无
代码示例来源:origin: us.ihmc/IHMCSimulationToolkit
scs.setCameraDollyVars("q_x", "q_y", "q_z");
scs.setCameraTracking(useTrackAndDolly.get(), useTrackAndDolly.get(), useTrackAndDolly.get(), useTrackAndDolly.get());
scs.setCameraDolly(useTrackAndDolly.get(), useTrackAndDolly.get(), useTrackAndDolly.get(), false);
scs.setCameraDollyOffsets(4.0, 4.0, 1.0);
SimulationOverheadPlotterFactory simulationOverheadPlotterFactory = scs.createSimulationOverheadPlotterFactory();
代码示例来源:origin: us.ihmc/simulation-construction-set-test
assertTrue(isCameraTrackingZ4);
scs.setCameraDolly(true, false, false, false);
boolean isCameraDolly = scs.getGUI().getCamera().isDolly();
boolean isCameraDollyX = scs.getGUI().getCamera().isDollyX();
assertFalse(isCameraDollyZ);
scs.setCameraDolly(false, true, false, false);
boolean isCameraDolly2 = scs.getGUI().getCamera().isDolly();
boolean isCameraDollyX2 = scs.getGUI().getCamera().isDollyX();
assertFalse(isCameraDollyZ2);
scs.setCameraDolly(false, false, true, false);
boolean isCameraDolly3 = scs.getGUI().getCamera().isDolly();
boolean isCameraDollyX3 = scs.getGUI().getCamera().isDollyX();
assertFalse(isCameraDollyZ3);
scs.setCameraDolly(false, false, false, true);
boolean isCameraDolly4 = scs.getGUI().getCamera().isDolly();
boolean isCameraDollyX4 = scs.getGUI().getCamera().isDollyX();
内容来源于网络,如有侵权,请联系作者删除!