Polarith AI
1.8

◆ SetPlanarMappingType()

void SetPlanarMappingType ( PlanarMappingType  mappingType,
PlanarOrientationType  orientation = PlanarOrientationType.PlaneXY 
)

Sets the PlanarMappingType and adapts the internal up vector based on the mapping type and, in case of PlanarMappingType.Automatic, determines the best up vector based on both the mapping type and the given orientation.

Parameters
mappingTypeThe new PlanarMappingType that is assigned.
orientationAn optional orientation given by a PlanarSensor. Only relevant if the new mappingType is PlanarMappingType.Automatic.
Imprint