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.
mappingType | The new PlanarMappingType that is assigned. |
orientation | An optional orientation given by a PlanarSensor. Only relevant if the new mappingType is PlanarMappingType.Automatic. |