com.jme3.system.AppSettings.copyFrom()方法的使用及代码示例

x33g5p2x  于2022-01-16 转载在 其他  
字(4.2k)|赞(0)|评价(0)|浏览(152)

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

AppSettings.copyFrom介绍

[英]Copies all settings from other to this AppSettings.

Any settings that are specified in other will overwrite settings set on this AppSettings.
[中]将所有设置从other复制到thisAppSettings。
在“其他”中指定的任何设置都将覆盖此AppSettings上设置的设置。

代码示例

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

@Override
public void setSettings(AppSettings settings) {
  this.settings.copyFrom(settings);
}

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

@Override
public void setSettings(AppSettings settings) {
  this.settings.copyFrom(settings);
}

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

public void setSettings(AppSettings settings) {
  this.settings.copyFrom(settings);
}

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

@Override
public void setSettings(AppSettings settings) {
  this.settings.copyFrom(settings);
}

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

public void setSettings(AppSettings settings) {
  this.settings.copyFrom(settings);
  frameRate = settings.getFrameRate();
  if (frameRate <= 0)
    frameRate = 60; // use default update rate.
}

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

@Override
public void setSettings(AppSettings settings) {
  logger.log(Level.FINE, "IGLESContext setSettings");
  this.settings.copyFrom(settings);
  if (input != null) {
    input.loadSettings(settings);
  }
}

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

public void setSettings(AppSettings settings) {
  this.settings.copyFrom(settings);
  this.settings.setRenderer(AppSettings.LWJGL_OPENGL2);
  if (actualContext != null){
    actualContext.setSettings(settings);
  }
}

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

@Override
public void setSettings(AppSettings settings) {
  this.settings.copyFrom(settings);
  if (androidInput != null) {
    androidInput.loadSettings(settings);
  }
  if (settings.getFrameRate() > 0) {
    minFrameDuration = (long)(1000d / (double)settings.getFrameRate()); // ms
    logger.log(Level.FINE, "Setting min tpf: {0}ms", minFrameDuration);
  } else {
    minFrameDuration = 0;
  }
}

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

settings.copyFrom(sourceSettings);
String iconPath = sourceSettings.getSettingsDialogImage();
if(iconPath == null){
sourceSettings.copyFrom(settings);

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

source.copyFrom(registrySettings);
} else if(!registrySettings.isEmpty()) {
  source.mergeFrom(registrySettings);

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

@Override
public void setSettings(AppSettings settings) {
  this.settings.copyFrom(settings);
}

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

@Override
public void setSettings(AppSettings settings) {
  this.settings.copyFrom(settings);
}

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

public void setSettings(AppSettings settings) {
  this.settings.copyFrom(settings);
}

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

public void setSettings(AppSettings settings) {
  this.settings.copyFrom(settings);
  frameRate = settings.getFrameRate();
  if (frameRate <= 0)
    frameRate = 60; // use default update rate.
}

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

public void setSettings(AppSettings settings) {
  this.settings.copyFrom(settings);
  frameRate = settings.getFrameRate();
  if (frameRate <= 0)
    frameRate = 60; // use default update rate.
}

代码示例来源:origin: us.ihmc/ihmc-jmonkey-engine-toolkit

public void setSettings(AppSettings settings)
{
 this.settings.copyFrom(settings);
 this.settings.setRenderer(AppSettings.LWJGL_OPENGL2);
 if (actualContext != null)
 {
   actualContext.setSettings(settings);
 }
}

代码示例来源:origin: us.ihmc/IHMCJMonkeyEngineToolkit

public void setSettings(AppSettings settings)
{
 this.settings.copyFrom(settings);
 this.settings.setRenderer(AppSettings.LWJGL_OPENGL2);
 if (actualContext != null)
 {
   actualContext.setSettings(settings);
 }
}

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

public void setSettings(AppSettings settings) {
  this.settings.copyFrom(settings);
  this.settings.setRenderer(AppSettings.LWJGL_OPENGL2);
  if (actualContext != null){
    actualContext.setSettings(settings);
  }
}

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

settings.copyFrom(sourceSettings);
String iconPath = sourceSettings.getSettingsDialogImage();
if(iconPath == null){
sourceSettings.copyFrom(settings);

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

source.copyFrom(registrySettings);
} else if(!registrySettings.isEmpty()) {
  source.mergeFrom(registrySettings);

相关文章

AppSettings类方法