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