GET SOLID FACE POINT: Difference between revisions
From Macros Wiki
Jump to navigationJump to search
No edit summary |
No edit summary |
||
| (One intermediate revision by the same user not shown) | |||
| Line 2: | Line 2: | ||
{{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= | |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= | |param3=<<nowiki>u</nowiki>>|param3_desc=U position. | ||
|param4=<v>|param4_desc= | |param4=<v>|param4_desc=V position. | ||
|param5=<x>|param5_desc={{ | |param5=<x>|param5_desc={{parameter_variable_num_name}} the X position of the point. | ||
|param6=<y>|param6_desc={{ | |param6=<y>|param6_desc={{parameter_variable_num_name}} the Y position of the point. | ||
|param7=<z>|param7_desc={{ | |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]] | :For an example macro see [[Create_face_normal]] [[Create_face_point]] | ||
[[Category:Solids]] | [[Category:Solids]] | ||
Latest revision as of 16:01, 17 January 2011
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