com.ardor3d.scenegraph.Node.updateWorldTransform()方法的使用及代码示例

x33g5p2x  于2022-01-25 转载在 其他  
字(1.5k)|赞(0)|评价(0)|浏览(99)

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

Node.updateWorldTransform介绍

暂无

代码示例

代码示例来源:origin: com.ardor3d/ardor3d-core

@Override
public void updateWorldTransform(final boolean recurse) {
  _lastTime = 0; // time
  super.updateWorldTransform(recurse);
}

代码示例来源:origin: Renanse/Ardor3D

/**
 * <code>updateWorldTransform</code> updates the rotation and translation of this node, and sets the camera's frame
 * buffer to reflect the current view.
 */
@Override
public void updateWorldTransform(final boolean recurse) {
  super.updateWorldTransform(recurse);
  if (_camera != null) {
    final ReadOnlyVector3 worldTranslation = getWorldTranslation();
    final ReadOnlyMatrix3 worldRotation = getWorldRotation();
    _camera.setFrame(worldTranslation, worldRotation);
  }
}

代码示例来源:origin: com.ardor3d/ardor3d-core

/**
 * <code>updateWorldTransform</code> updates the rotation and translation of this node, and sets the camera's frame
 * buffer to reflect the current view.
 */
@Override
public void updateWorldTransform(final boolean recurse) {
  super.updateWorldTransform(recurse);
  if (_camera != null) {
    final ReadOnlyVector3 worldTranslation = getWorldTranslation();
    final ReadOnlyMatrix3 worldRotation = getWorldRotation();
    _camera.setFrame(worldTranslation, worldRotation);
  }
}

代码示例来源:origin: Renanse/Ardor3D

sceneRoot.updateWorldTransform(true);
initDefaultJointTransforms(baseJointNode);

相关文章