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

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

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

Mesh.setDynamic介绍

[英]Indicates to the GPU that this mesh will be modified occasionally (a hint). Sets the usage mode to Usage#Dynamicfor all VertexBuffer on this Mesh.
[中]向GPU指示此网格将偶尔被修改(提示)。将此网格上所有VertexBuffer的使用模式设置为“使用#动态”。

代码示例

代码示例来源:origin: jMonkeyEngine/jmonkeyengine

/**
 * Unlocks the mesh (sets it dynamic) to make it editable.
 * It will be editable but performance will be reduced.
 * Call lockMesh to improve performance.
 */
public void unlockMesh() {
  getMesh().setDynamic();
}

代码示例来源:origin: jMonkeyEngine/jmonkeyengine

m.setDynamic();

代码示例来源:origin: us.ihmc.thirdparty.jme/jme3-terrain

/**
 * Unlocks the mesh (sets it dynamic) to make it editable.
 * It will be editable but performance will be reduced.
 * Call lockMesh to improve performance.
 */
public void unlockMesh() {
  getMesh().setDynamic();
}

代码示例来源:origin: org.jmonkeyengine/jme3-core

m.setDynamic();

代码示例来源:origin: info.projectkyoto/mms-engine

m.setDynamic();

相关文章