Click or drag to resize

TextureMappingTryGetMappingSphere Method

Get a spherical projection parameters from this texture mapping.

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

Parameters

sphere
Type: Rhino.GeometrySphere
///

Return Value

Type: Boolean
Returns true if a valid sphere is returned.
Remarks
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.
See Also