Click or drag to resize

TextureMappingTryGetMappingPlane Method (Plane, Interval, Interval, Interval, Boolean)

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.GeometryPlane

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

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]
capped
Type: SystemBoolean

[Missing <param name="capped"/> documentation for "M:Rhino.Render.TextureMapping.TryGetMappingPlane(Rhino.Geometry.Plane@,Rhino.Geometry.Interval@,Rhino.Geometry.Interval@,Rhino.Geometry.Interval@,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.
See Also