GET SOLID FACE POINT

From Macros Wiki
Jump to: navigation, search

Up

Command

GET_SOLID_FACE_POINT <solid number>, <face number>, <u>, <v>, <x>, <y>, <z>


Get the XYZ value of a point on a face, given the UV position.

Parameters

<solid number>
Solid number.
<face number>
Face number.
<u>
U position.
<v>
V position.
<x>
The name of a numeric variable to be set to the X position of the point.
<y>
The name of a numeric variable to be set to the Y position of the point.
<z>
The name of a numeric variable to be set to the Z position of the point.

Example

GET_SOLID_FACE_POINT 2, 5, 0.2, 0.45, xx, yy, zz
For an example macro see Create_face_normal Create_face_point