public interface TextureOptions
Mtl. For details about the semantics of the properties
in this interface, refer to the MTL specification.| Modifier and Type | Method and Description |
|---|---|
Float |
getBm()
Returns the bump multiplier (
-bm),
or null if it was not specified |
Float |
getBoost()
Returns the boost mip-map sharpness value (
-boost),
or null if it was not specified |
String |
getFileName()
Returns the file name of the texture
|
String |
getImfchan()
Returns the IMF channel to use (
-imfchan),
or null if it was not specified |
FloatTuple |
getMm()
Returns the texture map modifier (
-mm),
or null if it was not specified |
FloatTuple |
getO()
Returns the origin offset (
-o),
or null if it was not specified |
FloatTuple |
getS()
Returns the scale (
-s),
or null if it was not specified |
FloatTuple |
getT()
Returns the turbulence (
-t),
or null if it was not specified |
Float |
getTexres()
Returns the texture resolution (
-texres),
or null if it was not specified |
String |
getType()
Returns the type of texture map (
-type),
or null if it was not specified |
Boolean |
isBlendu()
Returns the horizontal texture blending state (
-blendu),
or null if it was not specified |
Boolean |
isBlendv()
Returns the vertical texture blending state (
-blendv),
or null if it was not specified |
Boolean |
isCc()
Returns the color correction state (
-cc),
or null if it was not specified |
Boolean |
isClamp()
Returns the clamping state (
-clamp),
or null if it was not specified |
void |
setBlendu(Boolean blendu)
Set the horizontal texture blending state
|
void |
setBlendv(Boolean blendv)
Set the vertical texture blending state
|
void |
setBm(Float bm)
Set the bump multiplier
|
void |
setBoost(Float boost)
Set the mip-map boost value
|
void |
setCc(Boolean cc)
Set the color correction state
|
void |
setClamp(Boolean clamp)
Set the clamping state
|
void |
setFileName(String fileName)
Set the file name of the texture
|
void |
setImfchan(String imfchan)
Set the IMF channel
|
void |
setMm(Float base,
Float gain)
Set the texture map modifier values
|
void |
setO(Float u,
Float v,
Float w)
Set the origin offset
|
void |
setS(Float u,
Float v,
Float w)
Set the scale
|
void |
setT(Float u,
Float v,
Float w)
Set the turbulence
|
void |
setTexres(Float texres)
Set the texture resolution
|
void |
setType(String type)
Set the type
|
String getFileName()
void setFileName(String fileName)
fileName - The file nameBoolean isBlendu()
-blendu),
or null if it was not specifiedvoid setBlendu(Boolean blendu)
blendu - The blending stateBoolean isBlendv()
-blendv),
or null if it was not specifiedvoid setBlendv(Boolean blendv)
blendv - The blending stateBoolean isCc()
-cc),
or null if it was not specifiedvoid setCc(Boolean cc)
cc - The color correction stateFloat getBoost()
-boost),
or null if it was not specifiedvoid setBoost(Float boost)
boost - The boost valueFloatTuple getMm()
-mm),
or null if it was not specifiedvoid setMm(Float base, Float gain)
base - The basegain - The gainFloatTuple getO()
-o),
or null if it was not specifiedvoid setO(Float u, Float v, Float w)
u - The u componentv - The v componentw - The w componentFloatTuple getS()
-s),
or null if it was not specifiedvoid setS(Float u, Float v, Float w)
u - The u componentv - The v componentw - The w componentFloatTuple getT()
-t),
or null if it was not specifiedvoid setT(Float u, Float v, Float w)
u - The u componentv - The v componentw - The w componentFloat getTexres()
-texres),
or null if it was not specifiedvoid setTexres(Float texres)
texres - The texture resolutionBoolean isClamp()
-clamp),
or null if it was not specifiedvoid setClamp(Boolean clamp)
clamp - The clamping stateFloat getBm()
-bm),
or null if it was not specifiedvoid setBm(Float bm)
bm - The bump multiplierString getImfchan()
-imfchan),
or null if it was not specifiedvoid setImfchan(String imfchan)
imfchan - The IMF channelString getType()
-type),
or null if it was not specifiedvoid setType(String type)
type - The typeCopyright © 2023. All rights reserved.