You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

125 lines
4.4 KiB

<!DOCTYPE html>
<html lang="it">
<head>
<meta charset="utf-8" />
<base href="../../../" />
<script src="page.js"></script>
<link type="text/css" rel="stylesheet" href="page.css" />
</head>
<body>
<h1>[name]</h1>
<p class="desc">
</p>
<h2>Costruttore</h2>
<h3>[name]( [param:InterleavedBuffer interleavedBuffer], [param:Integer itemSize], [param:Integer offset], [param:Boolean normalized] )</h3>
<p>
</p>
<h2>Proprietà</h2>
<h3>[property:InterleavedBuffer data]</h3>
<p>
L'istanza [page:InterleavedBuffer InterleavedBuffer] passata nel costruttore.
</p>
<h3>[property:TypedArray array]</h3>
<p>
Il valore di [page:InterleavedBufferAttribute.data data].array.
</p>
<h3>[property:Integer count]</h3>
<p>
Il valore di [page:InterleavedBufferAttribute.data data].count.
Se il buffer memorizza un elemento a 3 componenti (come una posizione, una normale, o un colore),
allora questo conterà il numero di ogni elemento memorizzato.
</p>
<h3>[property:Boolean isInterleavedBufferAttribute]</h3>
<p>
Flag di sola lettura per verificare se un dato oggetto è di tipo [name].
</p>
<h3>[property:Integer itemSize]</h3>
<p>
Quanti valori compongono ogni elemento (vertice).
</p>
<h3>[property:String name]</h3>
<p>
Nome opzionale per questa istanza dell'attributo. Il valore di default è una stringa vuota.
</p>
<h3>[property:Boolean needsUpdate]</h3>
<p>
Il valore predefinito è `false`. Impostando questa proprietà a `true` invierà di nuovo l'intero
buffer interleaved (non solo i dati dello specifico attributo) alla GPU.
</p>
<h3>[property:Boolean normalized]</h3>
<p>
Il valore predefinito è `false`.
</p>
<h3>[property:Integer offset]</h3>
<p>
L'offset nel buffer dell'array sottostante in cui inizia un elemento.
</p>
<h2>Metodi</h2>
<h3>[method:this applyMatrix4]( [param:Matrix4 m] )</h3>
<p>Applica la matrice [page:Matrix4 m] ad ogni elemento Vector3 di questo InterleavedBufferAttribute.</p>
<h3>[method:this applyNormalMatrix]( [param:Matrix3 m] )</h3>
<p>Applica la matrice [page:Matrix3 m] ad ogni elemento Vector3 di questo InterleavedBufferAttribute.</p>
<h3>[method:this transformDirection]( [param:Matrix4 m] )</h3>
<p>Applica la matrice [page:Matrix4 m] ad ogni elemento Vector3 di questo InterleavedBufferAttribute, interpretando gli elementi come vettori direzionali.</p>
<h3>[method:Number getX]( [param:Integer index] ) </h3>
<p>Restituisce il componente x dell'elemento in corrispondenza dell'indice specificato.</p>
<h3>[method:Number getY]( [param:Integer index] ) </h3>
<p>Restituisce il componente y dell'elemento in corrispondenza dell'indice specificato.</p>
<h3>[method:Number getZ]( [param:Integer index] ) </h3>
<p>Restituisce il componente z dell'elemento in corrispondenza dell'indice specificato.</p>
<h3>[method:Number getW]( [param:Integer index] ) </h3>
<p>Restituisce il componente w dell'elemento in corrispondenza dell'indice specificato.</p>
<h3>[method:this setX]( [param:Integer index], [param:Float x] ) </h3>
<p>Imposta il componente x dell'elemento in corrispondenza dell'indice specificato.</p>
<h3>[method:this setY]( [param:Integer index], [param:Float y] ) </h3>
<p>Imposta il componente y dell'elemento in corrispondenza dell'indice specificato.</p>
<h3>[method:this setZ]( [param:Integer index], [param:Float z] ) </h3>
<p>Imposta il componente z dell'elemento in corrispondenza dell'indice specificato.</p>
<h3>[method:this setW]( [param:Integer index], [param:Float w] ) </h3>
<p>Imposta il componente w dell'elemento in corrispondenza dell'indice specificato.</p>
<h3>[method:this setXY]( [param:Integer index], [param:Float x], [param:Float y] ) </h3>
<p>Imposta i componenti x e y dell'elemento in corrispondenza dell'indice specificato.</p>
<h3>[method:this setXYZ]( [param:Integer index], [param:Float x], [param:Float y], [param:Float z] ) </h3>
<p>Imposta i componenti x, y e z dell'elemento in corrispondenza dell'indice specificato.</p>
<h3>[method:this setXYZW]( [param:Integer index], [param:Float x], [param:Float y], [param:Float z], [param:Float w] ) </h3>
<p>Imposta i componenti x, y, z e w dell'elemento in corrispondenza dell'indice specificato.</p>
<h2>Source</h2>
<p>
[link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]
</p>
</body>
</html>