/** * Set the {@link AppSettings settings} attached to this app state. * @param settings the {@link AppSettings settings} attached to this app state. * @see #getSettings() */ public void setSettings(AppSettings settings){ this.settings = settings; processSettings(settings); }
/** * Create a new VR app state with given settings. The app state relies on the given {@link VREnvironment VR environment}. * @param settings the settings to use. * @param environment the {@link VREnvironment VR environment} that this app state is using. */ public VRAppState(AppSettings settings, VREnvironment environment){ this(environment); this.settings = settings; processSettings(settings); }