Static model align settings.
@example:
# Settings class used to control parameters for AlignStaticModels operation
staticModelLayer = ce.getObjectsFrom(ce.scene, ce.isStaticModelLayer, ce.withName("'Landmarks'"))
settings = AlignStaticModelsSettings()
settings.setHeightmap('Heightmap')
ce.alignStaticModels(staticModelLayer, settings)
此处定义的方法如下:
getHeightmap
getHeightmap(self):
Gets Heightmap field. Specifies the heightmap to align to. Use "y = 0" for alignment to X-Z plane.
@return: Value of Heightmap field.  [str]getOffset
getOffset(self):
Gets Offset field. Y-Offset to be added to the aligned vertices.
@return: Value of Offset field.  [float]setHeightmap
setHeightmap(self, stringValue):
Sets Heightmap field. Specifies the heightmap to align to. Use "y = 0" for alignment to X-Z plane.
@param stringValue: the new value. [str]setOffset
setOffset(self, floatValue):
Sets Offset field. Y-Offset to be added to the aligned vertices.
@param floatValue: the new value. [float]