本文整理了Java中com.jme3.scene.Spatial.updateWorldLightList()
方法的一些代码示例,展示了Spatial.updateWorldLightList()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Spatial.updateWorldLightList()
方法的具体详情如下:
包路径:com.jme3.scene.Spatial
类名称:Spatial
方法名:updateWorldLightList
暂无
代码示例来源:origin: jMonkeyEngine/jmonkeyengine
@Override
protected void updateWorldLightList() {
super.updateWorldLightList();
// geometry requires lights to be sorted
worldLights.sort(true);
}
代码示例来源:origin: jMonkeyEngine/jmonkeyengine
updateWorldLightList();
代码示例来源:origin: org.jmonkeyengine/jme3-core
@Override
protected void updateWorldLightList() {
super.updateWorldLightList();
// geometry requires lights to be sorted
worldLights.sort(true);
}
代码示例来源:origin: info.projectkyoto/mms-engine
/**
* <code>updateGeometricState</code> updates the lightlist,
* computes the world transforms, and computes the world bounds
* for this Spatial.
* Calling this when the Spatial is attached to a node
* will cause undefined results. User code should only call this
* method on Spatials having no parent.
*
* @see Spatial#getWorldLightList()
* @see Spatial#getWorldTransform()
* @see Spatial#getWorldBound()
*/
public void updateGeometricState() {
// assume that this Spatial is a leaf, a proper implementation
// for this method should be provided by Node.
// NOTE: Update world transforms first because
// bound transform depends on them.
if ((refreshFlags & RF_LIGHTLIST) != 0) {
updateWorldLightList();
}
if ((refreshFlags & RF_TRANSFORM) != 0) {
updateWorldTransforms();
}
if ((refreshFlags & RF_BOUND) != 0) {
updateWorldBound();
}
assert refreshFlags == 0;
}
代码示例来源:origin: org.jmonkeyengine/jme3-core
updateWorldLightList();
内容来源于网络,如有侵权,请联系作者删除!