Click or drag to resize

TextureMappingTryGetMappingSphere Method

Get a spherical projection parameters from this texture mapping.

Namespace:  Rhino.Render
Assembly:  RhinoCommon (in RhinoCommon.dll)
public bool TryGetMappingSphere(
	out Sphere sphere


Type: Rhino.GeometrySphere

Return Value

Type: Boolean
Returns true if a valid sphere is returned.
Generally, GetMappingShere will not return the same parameters passed to SetSphereMapping. However, the location of the sphere will be the same. If this mapping is not cylindrical, the cylinder will approximate the actual mapping primitive.
Version Information

Rhino for Mac

Supported in: 5.4

Rhino for Windows

Supported in: 6.2
See Also