3D 1.8 sprite/function

Function
Unused attribute ID is returned.
Format
ATRID(<アトリビュートID>)
Example
NEXT_ATTR= ATRID( -1 )
Parameter
<アトリビュートID>Fixed zero point type(It drops below the decimal point all. )
Return value
Unused attribute ID is returned. The integer of the fixed zero point type is returned.
Operation is detailed.
The following number of largest attribute ID that has been defined so far is returned. When time when the attribute is newly defined with SETATR and undefined attribute DI is acquired, it uses it.
Parameter
It is only =- <アトリビュートID>1 that the present support lives is done.

Function
The content of polygon ID is read.
Format
POLYGONID(<ポリゴンID>[,<要素番号>[,<項目番号>]])
Example
POLYGONID(-1) → returns the following unused polygon ID.
The number of respects of POLYGONDI(0) → polygons ID 0 is examined.
Parameter
<ポリゴンID>... Fixed zero point type(It drops below the decimal point all. )
<要素番号>... Fixed zero point type(It drops below the decimal point all. )
<項目番号>... Fixed zero point type(It drops below the decimal point all. )
Return value
The integer of the fixed zero point type is returned.
Operation is detailed.
<ポリゴンID>= -The following number of largest polygon ID that has been defined so far is returned in case of one. When the polygon is newly defined with SETPOLYGON, it uses it.
<ポリゴンID>= <項目番号> <ポリゴンID>Can it <要素番号>give in case of 0 and the following content be acquired from the polygon in which is defined.
<要素番号> <項目番号>Remarks
None is done and it is undefined in case of the number of iodines and 0 of the polygons of this ID. (The number of elements is the numbers of respects of polygons. )
<要素数 -1>Top ID that does 0~ and uses it by this polygon
The <要素数 -1>top list that composes polygon <要素番号>side of 0~0, 1, 2, and 3( p1, p2, p3, p4 )
<要素番号>Normal vector on polygon side of 4, 5, and 6( X, Y, Z )
<要素番号>
Example
The number of elements of POLYGON(0) →POLYGON ID=0 is returned.
When only the item number is omitted, top ID for which is <ポリゴンID>used is returned.

Function
The content of texture ID is read.
Format
TEXID(<テクスチャID>[,<項目番号>])
Example
TEXID( -1 )
Parameter
<テクスチャID>... Fixed zero point type(It drops below the decimal point all. )
<項目番号>... Fixed zero point type(It drops below the decimal point all. )
Return value
The integer of the fixed zero point type is returned.
Operation is detailed.
<テクスチャID>== -The following number of largest texture ID that has been defined so far is returned in case of one. When undefined texture ID is acquired, it uses it in the place where the texture is newly defined with SETTEX.
Parameter
It is only =- <アトリビュートID>1 that the present support lives is done.
<テクスチャID>== <項目番号>Can acquire the following information by giving it in case of 0.
<項目番号>
Dot size X of <テクスチャID>texture of 0
Dot size Y of <テクスチャID>texture of one
Either colors number 16,256 or 32768 of <テクスチャID>textures of two

Function
The content of top ID is read.
Format
VERTEXID(<頂点ID>[,<要素番号>[,<項目番号>]])
Example
PRINT VERTEXID( -1 )
Parameter
<頂点ID>... Fixed zero point type(It drops below the decimal point all. )
<要素番号>... Fixed zero point type(It drops below the decimal point all. )
<項目番号>... Fixed zero point type(It drops below the decimal point all. )
Return value
The integer of the fixed zero point type is returned.
Operation is detailed.
<要素番号> <項目番号>Remarks
<頂点ID>Number of tops without none. It is shown that it is undefined in case of 0.
The <要素数~1>top ..each.. <頂点ID>drinking.. <要素番号>coordinates of 0~0, 1, and 2. <項目番号>Peel 0, 1, and 2 corresponds to (X,Y,Z) respectively.
<要素番号>If existing top ID is not specified, Undefined vertex is generated when is specified.