Skip to content

M_Rhino_Render_TextureMapping_TryGetMappingPlane

Will Pearson edited this page Aug 12, 2016 · 2 revisions

TextureMapping.TryGetMappingPlane Method

Get plane mapping parameters from this texture mapping.

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

Syntax

C#

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

VB

Public Function TryGetMappingPlane ( 
	<OutAttribute> ByRef plane As Plane,
	<OutAttribute> ByRef dx As Interval,
	<OutAttribute> ByRef dy As Interval,
	<OutAttribute> ByRef dz As Interval
) As Boolean

Parameters

 

plane
Type: Rhino.Geometry.Plane
[Missing documentation for "M:Rhino.Render.TextureMapping.TryGetMappingPlane(Rhino.Geometry.Plane@,Rhino.Geometry.Interval@,Rhino.Geometry.Interval@,Rhino.Geometry.Interval@)"]
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]

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.

Version Information

Supported in: 5D58w

See Also

Reference

TextureMapping Class
Rhino.Render Namespace

Clone this wiki locally