M_Rhino_Render_TextureMapping_TryGetMappingCylinder - mcneel/rhinocommon-api-docs GitHub Wiki
Get a cylindrical projection parameters from this texture mapping.
Namespace: Rhino.Render
Assembly: RhinoCommon (in RhinoCommon.dll) Version: Rhino 6.0
C#
public bool TryGetMappingCylinder(
out Cylinder cylinder
)
VB
Public Function TryGetMappingCylinder (
<OutAttribute> ByRef cylinder As Cylinder
) As Boolean
- cylinder
- Type: Rhino.Geometry.Cylinder
[Missing documentation for "M:Rhino.Render.TextureMapping.TryGetMappingCylinder(Rhino.Geometry.Cylinder@)"]
Type: Boolean
Returns true if a valid cylinder is returned.
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.
Supported in: 5D58w