GraphNode.GraphInput| Constructor and Description |
|---|
Parallax() |
| Modifier and Type | Method and Description |
|---|---|
ShaderScope |
getBestScope() |
Block |
getBlock(Compiler compiler,
ShaderScope scope) |
float |
getBumpBias() |
float |
getBumpScale() |
java.lang.String |
getCode(Compiler compiler,
Block block,
ShaderScope scope) |
Map.MapType |
getHeightMap() |
int |
getHeightMapChannel() |
int |
getLinearSteps() |
float |
getLodDistance() |
float |
getLodFadeRange() |
ShaderScope |
getResultScope() |
boolean |
isInverseHeight() |
boolean |
isOffsetLimiting() |
boolean |
isUpward() |
protected static java.lang.String |
scaleBias(float bumpScale,
float bumpBias) |
void |
setBumpBias(float bumpBias) |
void |
setBumpScale(float bumpScale) |
void |
setHeightMap(Map.MapType heightMap) |
void |
setHeightMapChannel(int heightMapChannel) |
void |
setInverseHeight(boolean inverseHeight) |
void |
setLinearSteps(int numIterations) |
void |
setLodDistance(float lodDistance) |
void |
setLodFadeRange(float lodFadeRange) |
void |
setOffsetLimiting(boolean offsetLimiting) |
void |
setUpward(boolean upward) |
connect, getInput, getName, getNumInputs, getOutputName, setInputs, setName, setOutputName, toStringpublic final Map.MapType getHeightMap()
public final void setHeightMap(Map.MapType heightMap)
public final void setHeightMapChannel(int heightMapChannel)
public final int getHeightMapChannel()
public final void setBumpScale(float bumpScale)
public final float getBumpScale()
public final void setBumpBias(float bumpBias)
public final float getBumpBias()
public final void setOffsetLimiting(boolean offsetLimiting)
public final boolean isOffsetLimiting()
public final void setUpward(boolean upward)
public final boolean isUpward()
public final void setInverseHeight(boolean inverseHeight)
public final boolean isInverseHeight()
public void setLinearSteps(int numIterations)
public final int getLinearSteps()
public final void setLodDistance(float lodDistance)
public final float getLodDistance()
public final void setLodFadeRange(float lodFadeRange)
public final float getLodFadeRange()
public ShaderScope getResultScope()
getResultScope in class GraphNodepublic ShaderScope getBestScope()
getBestScope in class GraphNodepublic final Block getBlock(Compiler compiler, ShaderScope scope)
public java.lang.String getCode(Compiler compiler, Block block, ShaderScope scope)
protected static java.lang.String scaleBias(float bumpScale,
float bumpBias)
Bonzai Engine 1.4.1-20200831 - A Java OpenGL engine and tools for Windows/Mac/Linux/Android
Copyright © 2007-2019 Jérôme Jouvie bonzaiengine.com contact@bonzaiengine.com