Skip to main content

vScriptValRenderMesh

Render a sweep mesh packet (vertices + faces) from vScriptValRenderSweepProfile as a shaded 2D image.

Mograph / ScriptValScriptValArrayJSON
vScriptValRenderMesh node

Parameters​

ParameterTypeDefaultDescription
X OffsetFloat0Moves the model along X.
Y OffsetFloat0Moves the model along Y.
Z OffsetFloat1.0Moves the model along Z, away from the camera.
X RotationFloat20Rotation around X in degrees.
Y RotationFloat30Rotation around Y in degrees.
+26 more parameters
ParameterTypeDefaultDescription
Z RotationFloat0Rotation around Z in degrees.
Rotate Around CenterInteger1Rotates around the model center.
Lock X/YInteger1Uses one scale value for X and Y.
X ScaleFloat1.0Scale of the model.
Y ScaleFloat1.0Scale along Y. Shown when Lock X/Y is off.
Field of ViewFloat90.0Perspective field of view in degrees.
Aspect RatioFloat16 / 9Aspect ratio used by the projection.
Show FillInteger1Draws the filled surface.
Show WireframeInteger1Draws the wireframe.
Wire WidthFloat0.0015Width of the wireframe lines.
Flat ShadingInteger1Uses one shade per face.
AmbientFloat0.15Minimum brightness.
Light XFloat0.6Light direction X.
Light YFloat0.8Light direction Y.
Light ZFloat-0.5Light direction Z.
Shade StepsInteger24Number of shading levels.
RedFloat0.1Color for the fill.
GreenFloat0.7Color for the fill.
BlueFloat1.0Color for the fill.
AlphaFloat1.0Color for the fill.
RedFloat0.0Color for the fill.
GreenFloat1.0Color for the fill.
BlueFloat1.0Color for the fill.
AlphaFloat1.0Color for the fill.
BackgroundImage——
Mesh PacketINPUT_DATATYPE——