Click or drag to resize

File3dmDisplacementAddSubItem Method

Adds a new sub-item to the displacement. face_index is the index of the face on the polysurface/SubD.on is the override for File3dmDisplacement.On.texture is the override for File3dmDisplacement.TextureId.mapping_channel is the override for File3dmDisplacement.MappingChannel.black_point is the override for File3dmDisplacement.BlackPoint.white_point is the override for File3dmDisplacement.WhitePoint.

Namespace:  Rhino.FileIO
Assembly:  RhinoCommon (in RhinoCommon.dll)
Since: 8.0
Syntax
public bool AddSubItem(
	int face_index,
	bool on,
	Guid texture,
	int mapping_channel,
	double black_point,
	double white_point
)

Parameters

face_index
Type: SystemInt32

[Missing <param name="face_index"/> documentation for "M:Rhino.FileIO.File3dmDisplacement.AddSubItem(System.Int32,System.Boolean,System.Guid,System.Int32,System.Double,System.Double)"]

on
Type: SystemBoolean

[Missing <param name="on"/> documentation for "M:Rhino.FileIO.File3dmDisplacement.AddSubItem(System.Int32,System.Boolean,System.Guid,System.Int32,System.Double,System.Double)"]

texture
Type: SystemGuid

[Missing <param name="texture"/> documentation for "M:Rhino.FileIO.File3dmDisplacement.AddSubItem(System.Int32,System.Boolean,System.Guid,System.Int32,System.Double,System.Double)"]

mapping_channel
Type: SystemInt32

[Missing <param name="mapping_channel"/> documentation for "M:Rhino.FileIO.File3dmDisplacement.AddSubItem(System.Int32,System.Boolean,System.Guid,System.Int32,System.Double,System.Double)"]

black_point
Type: SystemDouble

[Missing <param name="black_point"/> documentation for "M:Rhino.FileIO.File3dmDisplacement.AddSubItem(System.Int32,System.Boolean,System.Guid,System.Int32,System.Double,System.Double)"]

white_point
Type: SystemDouble

[Missing <param name="white_point"/> documentation for "M:Rhino.FileIO.File3dmDisplacement.AddSubItem(System.Int32,System.Boolean,System.Guid,System.Int32,System.Double,System.Double)"]

Return Value

Type: Boolean

[Missing <returns> documentation for "M:Rhino.FileIO.File3dmDisplacement.AddSubItem(System.Int32,System.Boolean,System.Guid,System.Int32,System.Double,System.Double)"]

See Also