Click or drag to resize

TextureMappingTryGetMappingPlane Method (Plane, Interval, Interval, Interval)

Get plane mapping parameters from this texture mapping.

Namespace:  Rhino.Render
Assembly:  RhinoCommon (in RhinoCommon.dll)
Since: 5.10
Syntax
public bool TryGetMappingPlane(
	out Plane plane,
	out Interval dx,
	out Interval dy,
	out Interval dz
)

Parameters

plane
Type: Rhino.GeometryPlane

[Missing <param name="plane"/> documentation for "M:Rhino.Render.TextureMapping.TryGetMappingPlane(Rhino.Geometry.Plane@,Rhino.Geometry.Interval@,Rhino.Geometry.Interval@,Rhino.Geometry.Interval@)"]

dx
Type: Rhino.GeometryInterval
Portion of the plane's x axis that is mapped to [0,1]
dy
Type: Rhino.GeometryInterval
Portion of the plane's y axis that is mapped to [0,1]
dz
Type: Rhino.GeometryInterval
Portion of the plane's z axis that is mapped to [0,1]

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.
See Also