RhinoCommon API
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 )
Public Function TryGetMappingSphere ( <OutAttribute> ByRef sphere As Sphere ) As Boolean
Parameters
- sphere
- Type: Rhino.GeometrySphere
///
Return Value
Type: BooleanReturns 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.

Rhino for Mac
Supported in: 5.4Rhino for Windows
Supported in: 6.14