GET SOLID FACE UV: Difference between revisions

From Macros Wiki
Jump to navigationJump to search
ConnerO (talk | contribs)
No edit summary
Mikeo (talk | contribs)
No edit summary
Line 2: Line 2:


{{Command|syntax=GET_SOLID_FACE_UV <solid number>, <face number>, <u1>, <v1>, <u2>, <v2>
{{Command|syntax=GET_SOLID_FACE_UV <solid number>, <face number>, <u1>, <v1>, <u2>, <v2>
|description=*DESCRPTION*
|description=Get the UV parameters of a solid face.


|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=<u1>|param3_desc={{u1}}
|param3=<u1>|param3_desc={{get_u1}}
|param4=<v1>|param4_desc={{v1}}
|param4=<v1>|param4_desc={{get_v1}}
|param5=<u2>|param5_desc={{u2}}
|param5=<u2>|param5_desc={{get_u2}}
|param6=<v2>|param6_desc={{v2}}
|param6=<v2>|param6_desc={{get_v2}}
}}
}}


===Example===
===Example===
:GET_SOLID_FACE_UV
:GET_SOLID_FACE_UV 2, 5, u1, v1, u2, v2
 
:For an example macro see [[Create_face_point]]
:For an example macro see [[Create_face_point]]
[[Category:Solids]]
[[Category:Solids]]

Revision as of 15:55, 17 January 2011

Up

Command

GET_SOLID_FACE_UV <solid number>, <face number>, <u1>, <v1>, <u2>, <v2>


Get the UV parameters of a solid face.

Parameters

<solid number>
Solid number.
<face number>
Face number.
<u1>
The name of a numeric variable to be set to the start value in the U direction.
<v1>
The name of a numeric variable to be set to the start value in the V direction.
<u2>
The name of a numeric variable to be set to the end value in the U direction.
<v2>
The name of a numeric variable to be set to the end value in the V direction.

Example

GET_SOLID_FACE_UV 2, 5, u1, v1, u2, v2
For an example macro see Create_face_point