GET SOLID FACE POINT: Difference between revisions

From Macros Wiki
Jump to navigationJump to search
ConnerO (talk | contribs)
No edit summary
Mikeo (talk | contribs)
No edit summary
 
(7 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[[:Solids:Solid_Data|{{Up}}]]
{{Command|syntax=GET_SOLID_FACE_POINT <solid number>, <face number>, <<nowiki>u</nowiki>>, <v>, <x>, <y>, <z>
{{Command|syntax=GET_SOLID_FACE_POINT <solid number>, <face number>, <<nowiki>u</nowiki>>, <v>, <x>, <y>, <z>
|description=*DESCRPTION*
|description=:Get the XYZ value of a point on a face, given the UV position.


|param1=<solid number>|param1_desc={{solid number}}
|param1=<solid number>|param1_desc={{solid number}}
|param2=<face number>|param2_desc={{face number}}
|param2=<face number>|param2_desc={{face number}}
|param3=<<nowiki>u</nowiki>>|param3_desc={{u}}
|param3=<<nowiki>u</nowiki>>|param3_desc=U position.
|param4=<v>|param4_desc={{v}}
|param4=<v>|param4_desc=V position.
|param5=<x>|param5_desc={{x}}
|param5=<x>|param5_desc={{parameter_variable_num_name}} the X position of the point.
|param6=<y>|param6_desc={{y}}
|param6=<y>|param6_desc={{parameter_variable_num_name}} the Y position of the point.
|param7=<z>|param7_desc={{z}}
|param7=<z>|param7_desc={{parameter_variable_num_name}} the Z position of the point.
}}
}}


===Example===
===Example===
:- GET_SOLID_FACE_POINT
:GET_SOLID_FACE_POINT 2, 5, 0.2, 0.45, xx, yy, zz
 
:For an example macro see [[Create_face_normal]] [[Create_face_point]]


[[Category:Solids]]
[[Category:Solids]]

Latest revision as of 16:01, 17 January 2011

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