com.jme3.scene.Spatial.setBoundRefresh()方法的使用及代码示例

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

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

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

相关文章

Spatial类方法