Skip to content

TextureMapping.TryGetMappingPlane (Plane., Interval., Interval., Interval., Boolean.)

Public Class

Get plane mapping parameters from this texture mapping, including capping information

Namespace: Rhino.Render

Assembly: RhinoCommon (in RhinoCommon.dll)

**Since:**6.7

Syntax

public bool TryGetMappingPlane(
out Plane plane,
out Interval dx,
out Interval dy,
out Interval dz,
out bool capped
)

Parameters

plane

Type: Rhino.Geometry.Plane.

dx

Type: Rhino.Geometry.Interval.
Portion of the plane’s x axis that is mapped to [0,1]

dy

Type: Rhino.Geometry.Interval.
Portion of the plane’s y axis that is mapped to [0,1]

dz

Type: Rhino.Geometry.Interval.
Portion of the plane’s z axis that is mapped to [0,1]

capped

Type:System.Boolean.

Return Value

Type:Boolean
Return true if valid plane mapping parameters were returned.

Remarks

NOTE WELL: Generally, GetMappingPlane will not return the same parameters passed to SetPlaneMapping. However, the location of the plane will be the same.