M_Rhino_Render_TextureMapping_TryGetMappingSphere - mcneel/rhinocommon-api-docs GitHub Wiki

TextureMapping.TryGetMappingSphere Method

Get a spherical projection parameters from this texture mapping.

Namespace: Rhino.Render
Assembly: RhinoCommon (in RhinoCommon.dll) Version: Rhino 6.0

Syntax

C#

public bool TryGetMappingSphere(
	out Sphere sphere
)

VB

Public Function TryGetMappingSphere ( 
	<OutAttribute> ByRef sphere As Sphere
) As Boolean

Parameters

 

sphere
Type: Rhino.Geometry.Sphere
///

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.

Version Information

Supported in: 5D58w

See Also

Reference

TextureMapping Class
Rhino.Render Namespace

⚠️ **GitHub.com Fallback** ⚠️