M_Rhino_Render_TextureMapping_TryGetMappingCylinder - mcneel/rhinocommon-api-docs GitHub Wiki

TextureMapping.TryGetMappingCylinder Method

Get a cylindrical projection parameters from this texture mapping.

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

Syntax

C#

public bool TryGetMappingCylinder(
	out Cylinder cylinder
)

VB

Public Function TryGetMappingCylinder ( 
	<OutAttribute> ByRef cylinder As Cylinder
) As Boolean

Parameters

 

cylinder
Type: Rhino.Geometry.Cylinder
[Missing documentation for "M:Rhino.Render.TextureMapping.TryGetMappingCylinder(Rhino.Geometry.Cylinder@)"]

Return Value

Type: Boolean
Returns true if a valid cylinder is returned.

Remarks

Generally, GetMappingCylinder will not return the same parameters passed to SetCylinderMapping. However, the location of the cylinder 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** ⚠️