Package dev.gothickit.zenkit.mat
Interface Material
- All Superinterfaces:
CacheableObject<CachedMaterial>
- All Known Implementing Classes:
CachedMaterial,NativeMaterial
-
Method Summary
Modifier and TypeMethodDescription@NotNull AlphaFunction@NotNull Colorcolor()@NotNull Vec2f@NotNull Stringfloatbooleanbooleanbooleanbooleanfloatboolean@NotNull MaterialGroupgroup()booleanstatic @NotNull Materialstatic @NotNull Material@NotNull Stringname()float@NotNull Stringtexture()float@NotNull AnimationMapping@NotNull Vec2f@NotNull Vec2ffloatfloat@NotNull WaveModewaveMode()@NotNull WaveSpeedMethods inherited from interface dev.gothickit.zenkit.CacheableObject
cache, isCached
-
Method Details
-
load
@Contract("_ -> new") @NotNull static @NotNull Material load(@NotNull @NotNull String path) throws ResourceIOException - Throws:
ResourceIOException
-
load
@Contract("_ -> new") @NotNull static @NotNull Material load(@NotNull @NotNull Read buf) throws ResourceIOException - Throws:
ResourceIOException
-
name
-
group
-
color
-
smoothAngle
float smoothAngle() -
texture
-
textureScale
-
textureAnimationFps
float textureAnimationFps() -
textureAnimationMapping
-
textureAnimationMappingDirection
-
disableCollision
boolean disableCollision() -
disableLightmap
boolean disableLightmap() -
dontCollapse
boolean dontCollapse() -
detailObject
-
detailObjectScale
float detailObjectScale() -
forceOccluder
boolean forceOccluder() -
environmentMapping
boolean environmentMapping() -
environmentMappingStrength
float environmentMappingStrength() -
waveMode
-
waveSpeed
-
waveAmplitude
float waveAmplitude() -
waveGridSize
float waveGridSize() -
ignoreSun
boolean ignoreSun() -
alphaFunction
-
defaultMapping
-