本文整理了Java中com.ardor3d.scenegraph.Node.updateWorldTransform()
方法的一些代码示例,展示了Node.updateWorldTransform()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Node.updateWorldTransform()
方法的具体详情如下:
包路径:com.ardor3d.scenegraph.Node
类名称: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);
内容来源于网络,如有侵权,请联系作者删除!