本文整理了Java中com.jme3.scene.Spatial.setBoundRefresh()
方法的一些代码示例,展示了Spatial.setBoundRefresh()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Spatial.setBoundRefresh()
方法的具体详情如下:
包路径:com.jme3.scene.Spatial
类名称:Spatial
方法名:setBoundRefresh
[英]Indicate that the bounding of this spatial has changed and that a refresh is required.
[中]指示此空间的边界已更改,需要刷新。
代码示例来源:origin: jMonkeyEngine/jmonkeyengine
/**
* Indicate that the transform of this spatial has changed and that
* a refresh is required.
*/
protected void setTransformRefresh() {
refreshFlags |= RF_TRANSFORM;
setBoundRefresh();
}
代码示例来源:origin: jMonkeyEngine/jmonkeyengine
/**
* (Internal use only) Forces a refresh of the given types of data.
*
* @param transforms Refresh world transform based on parents'
* @param bounds Refresh bounding volume data based on child nodes
* @param lights Refresh light list based on parents'
*/
public void forceRefresh(boolean transforms, boolean bounds, boolean lights) {
if (transforms) {
setTransformRefresh();
}
if (bounds) {
setBoundRefresh();
}
if (lights) {
setLightListRefresh();
}
}
代码示例来源:origin: org.jmonkeyengine/jme3-core
/**
* Indicate that the transform of this spatial has changed and that
* a refresh is required.
*/
protected void setTransformRefresh() {
refreshFlags |= RF_TRANSFORM;
setBoundRefresh();
}
代码示例来源:origin: info.projectkyoto/mms-engine
/**
* Indicate that the transform of this spatial has changed and that
* a refresh is required.
*/
protected void setTransformRefresh() {
refreshFlags |= RF_TRANSFORM;
setBoundRefresh();
}
代码示例来源:origin: org.jmonkeyengine/jme3-core
/**
* (Internal use only) Forces a refresh of the given types of data.
*
* @param transforms Refresh world transform based on parents'
* @param bounds Refresh bounding volume data based on child nodes
* @param lights Refresh light list based on parents'
*/
public void forceRefresh(boolean transforms, boolean bounds, boolean lights) {
if (transforms) {
setTransformRefresh();
}
if (bounds) {
setBoundRefresh();
}
if (lights) {
setLightListRefresh();
}
}
代码示例来源:origin: info.projectkyoto/mms-engine
/**
* (Internal use only) Forces a refresh of the given types of data.
*
* @param transforms Refresh world transform based on parents'
* @param bounds Refresh bounding volume data based on child nodes
* @param lights Refresh light list based on parents'
*/
public void forceRefresh(boolean transforms, boolean bounds, boolean lights) {
if (transforms) {
setTransformRefresh();
}
if (bounds) {
setBoundRefresh();
}
if (lights) {
setLightListRefresh();
}
}
代码示例来源:origin: info.projectkyoto/mms-engine
clone.setBoundRefresh();
clone.setTransformRefresh();
clone.setLightListRefresh();
代码示例来源:origin: org.jmonkeyengine/jme3-core
clone.setBoundRefresh();
clone.setTransformRefresh();
clone.setLightListRefresh();
内容来源于网络,如有侵权,请联系作者删除!