public class LandscapeHelper extends AbstractBlenderHelper
blenderContext, blenderVersion, fixUpAxis, upAxisRotationQuaternion| Constructor and Description |
|---|
LandscapeHelper(java.lang.String blenderVersion,
BlenderContext blenderContext) |
| Modifier and Type | Method and Description |
|---|---|
com.jme3.light.Light |
toAmbientLight(Structure worldStructure)
Loads scene ambient light.
|
com.jme3.math.ColorRGBA |
toBackgroundColor(Structure worldStructure)
Loads the background color.
|
com.jme3.post.filters.FogFilter |
toFog(Structure worldStructure)
The method loads fog for the scene.
|
com.jme3.scene.Spatial |
toSky(Structure worldStructure)
Loads scene's sky.
|
applyProperties, loadLibrary, loadPropertiespublic LandscapeHelper(java.lang.String blenderVersion,
BlenderContext blenderContext)
public com.jme3.light.Light toAmbientLight(Structure worldStructure)
worldStructure - the world's blender structurepublic com.jme3.post.filters.FogFilter toFog(Structure worldStructure)
worldStructure - the world's structurepublic com.jme3.math.ColorRGBA toBackgroundColor(Structure worldStructure)
worldStructure - the world's structurepublic com.jme3.scene.Spatial toSky(Structure worldStructure) throws BlenderFileException
worldStructure - the world's structureBlenderFileException - blender exception is thrown when problems with blender file occur