Package net.risingworld.api.assets
Klasse ModelImportSettings
java.lang.Object
net.risingworld.api.assets.Asset
net.risingworld.api.assets.ModelImportSettings
You can use this object to get more control over the import settings for models. This
is only relevant when loading models from the hard drive (or from raw data).
-
Verschachtelte Klassen - Übersicht
Modifizierer und TypKlasseBeschreibungstatic enum
static enum
static enum
static enum
static enum
static enum
Von Klasse geerbte verschachtelte Klassen/Schnittstellen net.risingworld.api.assets.Asset
Asset.Source, Asset.Type
-
Feldübersicht
Modifizierer und TypFeldBeschreibungint
int
int
int
float
float
Von Klasse geerbte Felder net.risingworld.api.assets.Asset
DEFAULT_EXTENSION
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungstatic ModelImportSettings
Creates a new model import settings object.boolean
boolean
boolean
void
setAnimationSetting
(ModelImportSettings.AnimationImportFlags flag, boolean set) void
void
setMaterialSetting
(ModelImportSettings.MaterialImportFlags flag, boolean set) void
void
setModelSetting
(ModelImportSettings.MeshImportFlags flag, boolean set) void
Von Klasse geerbte Methoden net.risingworld.api.assets.Asset
dispose, equals, getChecksum, getDependency, getExtension, getHandle, getPath, getSource, getType, hashCode, isDisposed
-
Felddetails
-
meshScaleFactor
public float meshScaleFactor -
meshPivot
-
meshNormalSmoothingAngle
public float meshNormalSmoothingAngle -
meshImportFlags
public int meshImportFlags -
animationType
-
animationWrapMode
-
animationImportFlags
public int animationImportFlags -
maxTextureResolution
public int maxTextureResolution -
materialFlags
public int materialFlags
-
-
Methodendetails
-
create
Creates a new model import settings object. It gives you more control when loading a model (e.g an FBX file) from the hard drive.- Parameter:
name
- a name to identify this settings instance.- Gibt zurück:
- a new settings asset instance.
-
setModelSetting
-
getModelSetting
-
setModelSettings
-
setAnimationSettings
-
setAnimationSetting
-
getAnimationSetting
-
setMaterialSettings
-
setMaterialSetting
-
getMaterialSetting
-