us.ihmc.simulationconstructionset.SimulationConstructionSet.setCameraTracking()方法的使用及代码示例

x33g5p2x  于2022-01-30 转载在 其他  
字(1.8k)|赞(0)|评价(0)|浏览(65)

本文整理了Java中us.ihmc.simulationconstructionset.SimulationConstructionSet.setCameraTracking()方法的一些代码示例,展示了SimulationConstructionSet.setCameraTracking()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。SimulationConstructionSet.setCameraTracking()方法的具体详情如下:
包路径:us.ihmc.simulationconstructionset.SimulationConstructionSet
类名称:SimulationConstructionSet
方法名:setCameraTracking

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();

相关文章

微信公众号

最新文章

更多

SimulationConstructionSet类方法