M_Rhino_Render_TextureMapping_TryGetMappingSphere - mcneel/rhinocommon-api-docs GitHub Wiki
Get a spherical projection parameters from this texture mapping.
Namespace: Rhino.Render
Assembly: RhinoCommon (in RhinoCommon.dll) Version: Rhino 6.0
C#
public bool TryGetMappingSphere(
out Sphere sphere
)
VB
Public Function TryGetMappingSphere (
<OutAttribute> ByRef sphere As Sphere
) As Boolean
- sphere
- Type: Rhino.Geometry.Sphere
///
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.
Supported in: 5D58w