本文整理了Java中us.ihmc.simulationconstructionset.SimulationConstructionSet.setCameraTracking()
方法的一些代码示例,展示了SimulationConstructionSet.setCameraTracking()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。SimulationConstructionSet.setCameraTracking()
方法的具体详情如下:
包路径:us.ihmc.simulationconstructionset.SimulationConstructionSet
类名称:SimulationConstructionSet
方法名:setCameraTracking
暂无
代码示例来源:origin: us.ihmc/ihmc-avatar-interfaces
plotterFactory.addYoGraphicsListRegistries(yoGraphicsListRegistry);
plotterFactory.createOverheadPlotter();
scs.setCameraTracking(true, true, true, true);
scs.addYoVariableRegistry(registry);
scs.setGroundVisible(false);
代码示例来源:origin: us.ihmc/IHMCSimulationToolkit
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);
代码示例来源:origin: us.ihmc/simulation-construction-set-test
scs.setCameraTracking(true, false, false, false);
boolean isCameraTracking = scs.getGUI().getCamera().isTracking();
boolean isCameraTrackingX = scs.getGUI().getCamera().isTrackingX();
assertFalse(isCameraTrackingZ);
scs.setCameraTracking(false, true, false, false);
boolean isCameraTracking2 = scs.getGUI().getCamera().isTracking();
boolean isCameraTrackingX2 = scs.getGUI().getCamera().isTrackingX();
assertFalse(isCameraTrackingZ2);
scs.setCameraTracking(false, false, true, false);
boolean isCameraTracking3 = scs.getGUI().getCamera().isTracking();
boolean isCameraTrackingX3 = scs.getGUI().getCamera().isTrackingX();
assertFalse(isCameraTrackingZ3);
scs.setCameraTracking(false, false, false, true);
boolean isCameraTracking4 = scs.getGUI().getCamera().isTracking();
boolean isCameraTrackingX4 = scs.getGUI().getCamera().isTrackingX();
内容来源于网络,如有侵权,请联系作者删除!