SceneMesh class/Set Mesh Parameters method

From LabVIEW Wiki
Jump to: navigation, search
VI Server Method Information
Method ID 62A42C00
Scope Basic Development Environment
Data Name SetMeshParms
Short Name* SetMeshParms
Long Name* Set Mesh Parameters
* Displayed here in English. Short and Long names appear in the language of the LabVIEW IDE.
Owning Class ID 118
Owning Class Name SceneMesh Class
Return Data Type No return value
Invoke Node Set Mesh Parameters
Available in Real-Time Operating SystemNo
Available in Run-Time EngineYes (Read/Write)
Loads the block diagram into memoryNo
Loads the front panel into memoryNo
Need to authenticate before useNo
Remote access allowedYes
Settable when the VI is runningYes

Sets the parameters that describe the mesh. Use this method to define how LabVIEW renders the 3D object to which you apply the mesh. If you do not specify a value for a parameter of this method, LabVIEW uses the current value of the parameter.

Parameters

Data type Name Required Description
Enum U16 Draw Mode No Specifies the mode LabVIEW uses to draw the mesh. The mode determines how LabVIEW interprets the data you wire to Vertex Array.
Numeric Cluster Array Vertex Array No Sets the x, y, and z values that define the array of vertices of the mesh.
U32 Array Indices No Determines the order in which LabVIEW processes the data in each of the arrays of the mesh.
Enum U16 Color Binding Mode No Specifies the mode used to bind color to the mesh. The mode determines how LabVIEW assigns the color you specified in Color Array.
Numeric Cluster Array Color Array No Specifies the RGBA color value for the color that Color Binding Mode applies to the 3D object.
Enum U16 Normal Binding Mode No Sets the binding mode for the normal vectors of the mesh. The mode determines how LabVIEW assigns the normals specified by Normal Array to the 3D object. Normals determine how lights in a 3D scene affect the rendering of a 3D object.
Numeric Cluster Array Normal Array No Sets the x, y, and z values that define the array of normals that Normal Binding Mode applies to the 3D object.
Numeric Cluster Array Texture Coordinate Array No Sets the s and t coordinates that define how to apply a texture to the mesh. You must assign a texture to the mesh for this array to have meaning.

Uses

History

Version Change(s)
LabVIEW 2018 More info to come.

See Also

External Links