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 |
|---|---|
Light |
toAmbientLight(Structure worldStructure)
Loads scene ambient light.
|
ColorRGBA |
toBackgroundColor(Structure worldStructure)
Loads the background color.
|
FogFilter |
toFog(Structure worldStructure)
The method loads fog for the scene.
|
Spatial |
toSky(Structure worldStructure)
Loads scene's sky.
|
applyProperties, loadLibrary, loadPropertiespublic LandscapeHelper(java.lang.String blenderVersion,
BlenderContext blenderContext)
public Light toAmbientLight(Structure worldStructure)
worldStructure - the world's blender structurepublic FogFilter toFog(Structure worldStructure)
worldStructure - the world's structurepublic ColorRGBA toBackgroundColor(Structure worldStructure)
worldStructure - the world's structurepublic Spatial toSky(Structure worldStructure) throws BlenderFileException
worldStructure - the world's structureBlenderFileException - blender exception is thrown when problems with blender file occur