public class Asset extends GlTFProperty
| Constructor and Description |
|---|
Asset() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Boolean |
defaultPremultipliedAlpha()
Returns the default value of the premultipliedAlpha
|
AssetProfile |
defaultProfile()
Returns the default value of the profile
|
java.lang.String |
getCopyright()
A copyright message suitable for display to credit the content
creator.
|
java.lang.String |
getGenerator()
Tool that generated this glTF model.
|
AssetProfile |
getProfile()
The profile of this Asset (optional)
Default: {} |
java.lang.String |
getVersion()
The glTF version.
|
java.lang.Boolean |
isPremultipliedAlpha()
Specifies if the shaders were generated with premultiplied alpha.
|
void |
setCopyright(java.lang.String copyright)
A copyright message suitable for display to credit the content
creator.
|
void |
setGenerator(java.lang.String generator)
Tool that generated this glTF model.
|
void |
setPremultipliedAlpha(java.lang.Boolean premultipliedAlpha)
Specifies if the shaders were generated with premultiplied alpha.
|
void |
setProfile(AssetProfile profile)
The profile of this Asset (optional)
Default: {} |
void |
setVersion(java.lang.String version)
The glTF version.
|
addExtensions, getExtensions, getExtras, removeExtensions, setExtensions, setExtraspublic void setCopyright(java.lang.String copyright)
copyright - The copyright to setpublic java.lang.String getCopyright()
public void setGenerator(java.lang.String generator)
generator - The generator to setpublic java.lang.String getGenerator()
public void setPremultipliedAlpha(java.lang.Boolean premultipliedAlpha)
premultipliedAlpha - The premultipliedAlpha to setpublic java.lang.Boolean isPremultipliedAlpha()
public java.lang.Boolean defaultPremultipliedAlpha()
isPremultipliedAlpha()public void setProfile(AssetProfile profile)
profile - The profile to setpublic AssetProfile getProfile()
public AssetProfile defaultProfile()
getProfile()public void setVersion(java.lang.String version)
version - The version to setjava.lang.NullPointerException - If the given value is nullpublic java.lang.String getVersion()
Copyright © 2024. All Rights Reserved.