MCPcopy
hub / github.com/mrdoob/three.js / setW

Method setW

src/math/Vector4.js:201–207  ·  view source on GitHub ↗

* Sets the vector's w component to the given value * * @param {number} w - The value to set. * @return {Vector4} A reference to this vector.

( w )

Source from the content-addressed store, hash-verified

199 * @return {Vector4} A reference to this vector.
200 */
201 setW( w ) {
202
203 this.w = w;
204
205 return this;
206
207 }
208
209 /**
210 * Allows to set a vector component with an index.

Callers 6

Vector4.tests.jsFile · 0.45
sortInstancedMeshFunction · 0.45
deinterleaveAttributeFunction · 0.45
processMeshAsyncMethod · 0.45
loadAccessorMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected