Vector4 class
4D column vector.
- Implemented types
Constructors
- Vector4(double x, double y, double z, double w)
-
Construct a new vector with the specified values.
factory
- Vector4.all(double value)
-
Splat
value
into all lanes of the vector.factory -
Vector4.array(List<
double> array, [int offset = 0]) -
Initialized with values from
array
starting atoffset
.factory - Vector4.copy(Vector4 other)
-
Copy of
other
.factory - Vector4.fromBuffer(ByteBuffer buffer, int offset)
-
Constructs Vector4 with a storage that views given
buffer
starting atoffset
.offset
has to be multiple of Float32List.bytesPerElement. - Vector4.fromFloat32List(Float32List _v4storage)
- Constructs Vector4 with given Float32List as storage.
- Vector4.identity()
-
Constructs the identity vector.
factory
- Vector4.random([Random? rng])
-
Generate random vector in the range (0, 0, 0, 0) to (1, 1, 1, 1). You can
optionally pass your own random number generator.
factory
- Vector4.zero()
- Zero vector.
Properties
- a ↔ double
-
getter/setter pair
- aa → Vector2
-
no setter
- aaa → Vector3
-
no setter
- aaaa → Vector4
-
no setter
- aaab → Vector4
-
no setter
- aaag → Vector4
-
no setter
- aaar → Vector4
-
no setter
- aab → Vector3
-
no setter
- aaba → Vector4
-
no setter
- aabb → Vector4
-
no setter
- aabg → Vector4
-
no setter
- aabr → Vector4
-
no setter
- aag → Vector3
-
no setter
- aaga → Vector4
-
no setter
- aagb → Vector4
-
no setter
- aagg → Vector4
-
no setter
- aagr → Vector4
-
no setter
- aar → Vector3
-
no setter
- aara → Vector4
-
no setter
- aarb → Vector4
-
no setter
- aarg → Vector4
-
no setter
- aarr → Vector4
-
no setter
- ab ↔ Vector2
-
getter/setter pair
- aba → Vector3
-
no setter
- abaa → Vector4
-
no setter
- abab → Vector4
-
no setter
- abag → Vector4
-
no setter
- abar → Vector4
-
no setter
- abb → Vector3
-
no setter
- abba → Vector4
-
no setter
- abbb → Vector4
-
no setter
- abbg → Vector4
-
no setter
- abbr → Vector4
-
no setter
- abg ↔ Vector3
-
getter/setter pair
- abga → Vector4
-
no setter
- abgb → Vector4
-
no setter
- abgg → Vector4
-
no setter
- abgr ↔ Vector4
-
getter/setter pair
- abr ↔ Vector3
-
getter/setter pair
- abra → Vector4
-
no setter
- abrb → Vector4
-
no setter
- abrg ↔ Vector4
-
getter/setter pair
- abrr → Vector4
-
no setter
- ag ↔ Vector2
-
getter/setter pair
- aga → Vector3
-
no setter
- agaa → Vector4
-
no setter
- agab → Vector4
-
no setter
- agag → Vector4
-
no setter
- agar → Vector4
-
no setter
- agb ↔ Vector3
-
getter/setter pair
- agba → Vector4
-
no setter
- agbb → Vector4
-
no setter
- agbg → Vector4
-
no setter
- agbr ↔ Vector4
-
getter/setter pair
- agg → Vector3
-
no setter
- agga → Vector4
-
no setter
- aggb → Vector4
-
no setter
- aggg → Vector4
-
no setter
- aggr → Vector4
-
no setter
- agr ↔ Vector3
-
getter/setter pair
- agra → Vector4
-
no setter
- agrb ↔ Vector4
-
getter/setter pair
- agrg → Vector4
-
no setter
- agrr → Vector4
-
no setter
- ar ↔ Vector2
-
getter/setter pair
- ara → Vector3
-
no setter
- araa → Vector4
-
no setter
- arab → Vector4
-
no setter
- arag → Vector4
-
no setter
- arar → Vector4
-
no setter
- arb ↔ Vector3
-
getter/setter pair
- arba → Vector4
-
no setter
- arbb → Vector4
-
no setter
- arbg ↔ Vector4
-
getter/setter pair
- arbr → Vector4
-
no setter
- arg ↔ Vector3
-
getter/setter pair
- arga → Vector4
-
no setter
- argb ↔ Vector4
-
getter/setter pair
- argg → Vector4
-
no setter
- argr → Vector4
-
no setter
- arr → Vector3
-
no setter
- arra → Vector4
-
no setter
- arrb → Vector4
-
no setter
- arrg → Vector4
-
no setter
- arrr → Vector4
-
no setter
- b ↔ double
-
getter/setter pair
- ba ↔ Vector2
-
getter/setter pair
- baa → Vector3
-
no setter
- baaa → Vector4
-
no setter
- baab → Vector4
-
no setter
- baag → Vector4
-
no setter
- baar → Vector4
-
no setter
- bab → Vector3
-
no setter
- baba → Vector4
-
no setter
- babb → Vector4
-
no setter
- babg → Vector4
-
no setter
- babr → Vector4
-
no setter
- bag ↔ Vector3
-
getter/setter pair
- baga → Vector4
-
no setter
- bagb → Vector4
-
no setter
- bagg → Vector4
-
no setter
- bagr ↔ Vector4
-
getter/setter pair
- bar ↔ Vector3
-
getter/setter pair
- bara → Vector4
-
no setter
- barb → Vector4
-
no setter
- barg ↔ Vector4
-
getter/setter pair
- barr → Vector4
-
no setter
- bb → Vector2
-
no setter
- bba → Vector3
-
no setter
- bbaa → Vector4
-
no setter
- bbab → Vector4
-
no setter
- bbag → Vector4
-
no setter
- bbar → Vector4
-
no setter
- bbb → Vector3
-
no setter
- bbba → Vector4
-
no setter
- bbbb → Vector4
-
no setter
- bbbg → Vector4
-
no setter
- bbbr → Vector4
-
no setter
- bbg → Vector3
-
no setter
- bbga → Vector4
-
no setter
- bbgb → Vector4
-
no setter
- bbgg → Vector4
-
no setter
- bbgr → Vector4
-
no setter
- bbr → Vector3
-
no setter
- bbra → Vector4
-
no setter
- bbrb → Vector4
-
no setter
- bbrg → Vector4
-
no setter
- bbrr → Vector4
-
no setter
- bg ↔ Vector2
-
getter/setter pair
- bga ↔ Vector3
-
getter/setter pair
- bgaa → Vector4
-
no setter
- bgab → Vector4
-
no setter
- bgag → Vector4
-
no setter
- bgar ↔ Vector4
-
getter/setter pair
- bgb → Vector3
-
no setter
- bgba → Vector4
-
no setter
- bgbb → Vector4
-
no setter
- bgbg → Vector4
-
no setter
- bgbr → Vector4
-
no setter
- bgg → Vector3
-
no setter
- bgga → Vector4
-
no setter
- bggb → Vector4
-
no setter
- bggg → Vector4
-
no setter
- bggr → Vector4
-
no setter
- bgr ↔ Vector3
-
getter/setter pair
- bgra ↔ Vector4
-
getter/setter pair
- bgrb → Vector4
-
no setter
- bgrg → Vector4
-
no setter
- bgrr → Vector4
-
no setter
- br ↔ Vector2
-
getter/setter pair
- bra ↔ Vector3
-
getter/setter pair
- braa → Vector4
-
no setter
- brab → Vector4
-
no setter
- brag ↔ Vector4
-
getter/setter pair
- brar → Vector4
-
no setter
- brb → Vector3
-
no setter
- brba → Vector4
-
no setter
- brbb → Vector4
-
no setter
- brbg → Vector4
-
no setter
- brbr → Vector4
-
no setter
- brg ↔ Vector3
-
getter/setter pair
- brga ↔ Vector4
-
getter/setter pair
- brgb → Vector4
-
no setter
- brgg → Vector4
-
no setter
- brgr → Vector4
-
no setter
- brr → Vector3
-
no setter
- brra → Vector4
-
no setter
- brrb → Vector4
-
no setter
- brrg → Vector4
-
no setter
- brrr → Vector4
-
no setter
- g ↔ double
-
getter/setter pair
- ga ↔ Vector2
-
getter/setter pair
- gaa → Vector3
-
no setter
- gaaa → Vector4
-
no setter
- gaab → Vector4
-
no setter
- gaag → Vector4
-
no setter
- gaar → Vector4
-
no setter
- gab ↔ Vector3
-
getter/setter pair
- gaba → Vector4
-
no setter
- gabb → Vector4
-
no setter
- gabg → Vector4
-
no setter
- gabr ↔ Vector4
-
getter/setter pair
- gag → Vector3
-
no setter
- gaga → Vector4
-
no setter
- gagb → Vector4
-
no setter
- gagg → Vector4
-
no setter
- gagr → Vector4
-
no setter
- gar ↔ Vector3
-
getter/setter pair
- gara → Vector4
-
no setter
- garb ↔ Vector4
-
getter/setter pair
- garg → Vector4
-
no setter
- garr → Vector4
-
no setter
- gb ↔ Vector2
-
getter/setter pair
- gba ↔ Vector3
-
getter/setter pair
- gbaa → Vector4
-
no setter
- gbab → Vector4
-
no setter
- gbag → Vector4
-
no setter
- gbar ↔ Vector4
-
getter/setter pair
- gbb → Vector3
-
no setter
- gbba → Vector4
-
no setter
- gbbb → Vector4
-
no setter
- gbbg → Vector4
-
no setter
- gbbr → Vector4
-
no setter
- gbg → Vector3
-
no setter
- gbga → Vector4
-
no setter
- gbgb → Vector4
-
no setter
- gbgg → Vector4
-
no setter
- gbgr → Vector4
-
no setter
- gbr ↔ Vector3
-
getter/setter pair
- gbra ↔ Vector4
-
getter/setter pair
- gbrb → Vector4
-
no setter
- gbrg → Vector4
-
no setter
- gbrr → Vector4
-
no setter
- gg → Vector2
-
no setter
- gga → Vector3
-
no setter
- ggaa → Vector4
-
no setter
- ggab → Vector4
-
no setter
- ggag → Vector4
-
no setter
- ggar → Vector4
-
no setter
- ggb → Vector3
-
no setter
- ggba → Vector4
-
no setter
- ggbb → Vector4
-
no setter
- ggbg → Vector4
-
no setter
- ggbr → Vector4
-
no setter
- ggg → Vector3
-
no setter
- ggga → Vector4
-
no setter
- gggb → Vector4
-
no setter
- gggg → Vector4
-
no setter
- gggr → Vector4
-
no setter
- ggr → Vector3
-
no setter
- ggra → Vector4
-
no setter
- ggrb → Vector4
-
no setter
- ggrg → Vector4
-
no setter
- ggrr → Vector4
-
no setter
- gr ↔ Vector2
-
getter/setter pair
- gra ↔ Vector3
-
getter/setter pair
- graa → Vector4
-
no setter
- grab ↔ Vector4
-
getter/setter pair
- grag → Vector4
-
no setter
- grar → Vector4
-
no setter
- grb ↔ Vector3
-
getter/setter pair
- grba ↔ Vector4
-
getter/setter pair
- grbb → Vector4
-
no setter
- grbg → Vector4
-
no setter
- grbr → Vector4
-
no setter
- grg → Vector3
-
no setter
- grga → Vector4
-
no setter
- grgb → Vector4
-
no setter
- grgg → Vector4
-
no setter
- grgr → Vector4
-
no setter
- grr → Vector3
-
no setter
- grra → Vector4
-
no setter
- grrb → Vector4
-
no setter
- grrg → Vector4
-
no setter
- grrr → Vector4
-
no setter
- hashCode → int
-
The hash code for this object.
no setteroverride
- isInfinite → bool
-
True if any component is infinite.
no setter
- isNaN → bool
-
True if any component is NaN.
no setter
- length ↔ double
-
Length.
getter/setter pair
- length2 → double
-
Length squared.
no setter
- p ↔ double
-
getter/setter pair
- pp → Vector2
-
no setter
- ppp → Vector3
-
no setter
- pppp → Vector4
-
no setter
- pppq → Vector4
-
no setter
- ppps → Vector4
-
no setter
- pppt → Vector4
-
no setter
- ppq → Vector3
-
no setter
- ppqp → Vector4
-
no setter
- ppqq → Vector4
-
no setter
- ppqs → Vector4
-
no setter
- ppqt → Vector4
-
no setter
- pps → Vector3
-
no setter
- ppsp → Vector4
-
no setter
- ppsq → Vector4
-
no setter
- ppss → Vector4
-
no setter
- ppst → Vector4
-
no setter
- ppt → Vector3
-
no setter
- pptp → Vector4
-
no setter
- pptq → Vector4
-
no setter
- ppts → Vector4
-
no setter
- pptt → Vector4
-
no setter
- pq ↔ Vector2
-
getter/setter pair
- pqp → Vector3
-
no setter
- pqpp → Vector4
-
no setter
- pqpq → Vector4
-
no setter
- pqps → Vector4
-
no setter
- pqpt → Vector4
-
no setter
- pqq → Vector3
-
no setter
- pqqp → Vector4
-
no setter
- pqqq → Vector4
-
no setter
- pqqs → Vector4
-
no setter
- pqqt → Vector4
-
no setter
- pqs ↔ Vector3
-
getter/setter pair
- pqsp → Vector4
-
no setter
- pqsq → Vector4
-
no setter
- pqss → Vector4
-
no setter
- pqst ↔ Vector4
-
getter/setter pair
- pqt ↔ Vector3
-
getter/setter pair
- pqtp → Vector4
-
no setter
- pqtq → Vector4
-
no setter
- pqts ↔ Vector4
-
getter/setter pair
- pqtt → Vector4
-
no setter
- ps ↔ Vector2
-
getter/setter pair
- psp → Vector3
-
no setter
- pspp → Vector4
-
no setter
- pspq → Vector4
-
no setter
- psps → Vector4
-
no setter
- pspt → Vector4
-
no setter
- psq ↔ Vector3
-
getter/setter pair
- psqp → Vector4
-
no setter
- psqq → Vector4
-
no setter
- psqs → Vector4
-
no setter
- psqt ↔ Vector4
-
getter/setter pair
- pss → Vector3
-
no setter
- pssp → Vector4
-
no setter
- pssq → Vector4
-
no setter
- psss → Vector4
-
no setter
- psst → Vector4
-
no setter
- pst ↔ Vector3
-
getter/setter pair
- pstp → Vector4
-
no setter
- pstq ↔ Vector4
-
getter/setter pair
- psts → Vector4
-
no setter
- pstt → Vector4
-
no setter
- pt ↔ Vector2
-
getter/setter pair
- ptp → Vector3
-
no setter
- ptpp → Vector4
-
no setter
- ptpq → Vector4
-
no setter
- ptps → Vector4
-
no setter
- ptpt → Vector4
-
no setter
- ptq ↔ Vector3
-
getter/setter pair
- ptqp → Vector4
-
no setter
- ptqq → Vector4
-
no setter
- ptqs ↔ Vector4
-
getter/setter pair
- ptqt → Vector4
-
no setter
- pts ↔ Vector3
-
getter/setter pair
- ptsp → Vector4
-
no setter
- ptsq ↔ Vector4
-
getter/setter pair
- ptss → Vector4
-
no setter
- ptst → Vector4
-
no setter
- ptt → Vector3
-
no setter
- pttp → Vector4
-
no setter
- pttq → Vector4
-
no setter
- ptts → Vector4
-
no setter
- pttt → Vector4
-
no setter
- q ↔ double
-
getter/setter pair
- qp ↔ Vector2
-
getter/setter pair
- qpp → Vector3
-
no setter
- qppp → Vector4
-
no setter
- qppq → Vector4
-
no setter
- qpps → Vector4
-
no setter
- qppt → Vector4
-
no setter
- qpq → Vector3
-
no setter
- qpqp → Vector4
-
no setter
- qpqq → Vector4
-
no setter
- qpqs → Vector4
-
no setter
- qpqt → Vector4
-
no setter
- qps ↔ Vector3
-
getter/setter pair
- qpsp → Vector4
-
no setter
- qpsq → Vector4
-
no setter
- qpss → Vector4
-
no setter
- qpst ↔ Vector4
-
getter/setter pair
- qpt ↔ Vector3
-
getter/setter pair
- qptp → Vector4
-
no setter
- qptq → Vector4
-
no setter
- qpts ↔ Vector4
-
getter/setter pair
- qptt → Vector4
-
no setter
- qq → Vector2
-
no setter
- qqp → Vector3
-
no setter
- qqpp → Vector4
-
no setter
- qqpq → Vector4
-
no setter
- qqps → Vector4
-
no setter
- qqpt → Vector4
-
no setter
- qqq → Vector3
-
no setter
- qqqp → Vector4
-
no setter
- qqqq → Vector4
-
no setter
- qqqs → Vector4
-
no setter
- qqqt → Vector4
-
no setter
- qqs → Vector3
-
no setter
- qqsp → Vector4
-
no setter
- qqsq → Vector4
-
no setter
- qqss → Vector4
-
no setter
- qqst → Vector4
-
no setter
- qqt → Vector3
-
no setter
- qqtp → Vector4
-
no setter
- qqtq → Vector4
-
no setter
- qqts → Vector4
-
no setter
- qqtt → Vector4
-
no setter
- qs ↔ Vector2
-
getter/setter pair
- qsp ↔ Vector3
-
getter/setter pair
- qspp → Vector4
-
no setter
- qspq → Vector4
-
no setter
- qsps → Vector4
-
no setter
- qspt ↔ Vector4
-
getter/setter pair
- qsq → Vector3
-
no setter
- qsqp → Vector4
-
no setter
- qsqq → Vector4
-
no setter
- qsqs → Vector4
-
no setter
- qsqt → Vector4
-
no setter
- qss → Vector3
-
no setter
- qssp → Vector4
-
no setter
- qssq → Vector4
-
no setter
- qsss → Vector4
-
no setter
- qsst → Vector4
-
no setter
- qst ↔ Vector3
-
getter/setter pair
- qstp ↔ Vector4
-
getter/setter pair
- qstq → Vector4
-
no setter
- qsts → Vector4
-
no setter
- qstt → Vector4
-
no setter
- qt ↔ Vector2
-
getter/setter pair
- qtp ↔ Vector3
-
getter/setter pair
- qtpp → Vector4
-
no setter
- qtpq → Vector4
-
no setter
- qtps ↔ Vector4
-
getter/setter pair
- qtpt → Vector4
-
no setter
- qtq → Vector3
-
no setter
- qtqp → Vector4
-
no setter
- qtqq → Vector4
-
no setter
- qtqs → Vector4
-
no setter
- qtqt → Vector4
-
no setter
- qts ↔ Vector3
-
getter/setter pair
- qtsp ↔ Vector4
-
getter/setter pair
- qtsq → Vector4
-
no setter
- qtss → Vector4
-
no setter
- qtst → Vector4
-
no setter
- qtt → Vector3
-
no setter
- qttp → Vector4
-
no setter
- qttq → Vector4
-
no setter
- qtts → Vector4
-
no setter
- qttt → Vector4
-
no setter
- r ↔ double
-
getter/setter pair
- ra ↔ Vector2
-
getter/setter pair
- raa → Vector3
-
no setter
- raaa → Vector4
-
no setter
- raab → Vector4
-
no setter
- raag → Vector4
-
no setter
- raar → Vector4
-
no setter
- rab ↔ Vector3
-
getter/setter pair
- raba → Vector4
-
no setter
- rabb → Vector4
-
no setter
- rabg ↔ Vector4
-
getter/setter pair
- rabr → Vector4
-
no setter
- rag ↔ Vector3
-
getter/setter pair
- raga → Vector4
-
no setter
- ragb ↔ Vector4
-
getter/setter pair
- ragg → Vector4
-
no setter
- ragr → Vector4
-
no setter
- rar → Vector3
-
no setter
- rara → Vector4
-
no setter
- rarb → Vector4
-
no setter
- rarg → Vector4
-
no setter
- rarr → Vector4
-
no setter
- rb ↔ Vector2
-
getter/setter pair
- rba ↔ Vector3
-
getter/setter pair
- rbaa → Vector4
-
no setter
- rbab → Vector4
-
no setter
- rbag ↔ Vector4
-
getter/setter pair
- rbar → Vector4
-
no setter
- rbb → Vector3
-
no setter
- rbba → Vector4
-
no setter
- rbbb → Vector4
-
no setter
- rbbg → Vector4
-
no setter
- rbbr → Vector4
-
no setter
- rbg ↔ Vector3
-
getter/setter pair
- rbga ↔ Vector4
-
getter/setter pair
- rbgb → Vector4
-
no setter
- rbgg → Vector4
-
no setter
- rbgr → Vector4
-
no setter
- rbr → Vector3
-
no setter
- rbra → Vector4
-
no setter
- rbrb → Vector4
-
no setter
- rbrg → Vector4
-
no setter
- rbrr → Vector4
-
no setter
- rg ↔ Vector2
-
getter/setter pair
- rga ↔ Vector3
-
getter/setter pair
- rgaa → Vector4
-
no setter
- rgab ↔ Vector4
-
getter/setter pair
- rgag → Vector4
-
no setter
- rgar → Vector4
-
no setter
- rgb ↔ Vector3
-
getter/setter pair
- rgba ↔ Vector4
-
getter/setter pair
- rgbb → Vector4
-
no setter
- rgbg → Vector4
-
no setter
- rgbr → Vector4
-
no setter
- rgg → Vector3
-
no setter
- rgga → Vector4
-
no setter
- rggb → Vector4
-
no setter
- rggg → Vector4
-
no setter
- rggr → Vector4
-
no setter
- rgr → Vector3
-
no setter
- rgra → Vector4
-
no setter
- rgrb → Vector4
-
no setter
- rgrg → Vector4
-
no setter
- rgrr → Vector4
-
no setter
- rr → Vector2
-
no setter
- rra → Vector3
-
no setter
- rraa → Vector4
-
no setter
- rrab → Vector4
-
no setter
- rrag → Vector4
-
no setter
- rrar → Vector4
-
no setter
- rrb → Vector3
-
no setter
- rrba → Vector4
-
no setter
- rrbb → Vector4
-
no setter
- rrbg → Vector4
-
no setter
- rrbr → Vector4
-
no setter
- rrg → Vector3
-
no setter
- rrga → Vector4
-
no setter
- rrgb → Vector4
-
no setter
- rrgg → Vector4
-
no setter
- rrgr → Vector4
-
no setter
- rrr → Vector3
-
no setter
- rrra → Vector4
-
no setter
- rrrb → Vector4
-
no setter
- rrrg → Vector4
-
no setter
- rrrr → Vector4
-
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- s ↔ double
-
getter/setter pair
- sp ↔ Vector2
-
getter/setter pair
- spp → Vector3
-
no setter
- sppp → Vector4
-
no setter
- sppq → Vector4
-
no setter
- spps → Vector4
-
no setter
- sppt → Vector4
-
no setter
- spq ↔ Vector3
-
getter/setter pair
- spqp → Vector4
-
no setter
- spqq → Vector4
-
no setter
- spqs → Vector4
-
no setter
- spqt ↔ Vector4
-
getter/setter pair
- sps → Vector3
-
no setter
- spsp → Vector4
-
no setter
- spsq → Vector4
-
no setter
- spss → Vector4
-
no setter
- spst → Vector4
-
no setter
- spt ↔ Vector3
-
getter/setter pair
- sptp → Vector4
-
no setter
- sptq ↔ Vector4
-
getter/setter pair
- spts → Vector4
-
no setter
- sptt → Vector4
-
no setter
- sq ↔ Vector2
-
getter/setter pair
- sqp ↔ Vector3
-
getter/setter pair
- sqpp → Vector4
-
no setter
- sqpq → Vector4
-
no setter
- sqps → Vector4
-
no setter
- sqpt ↔ Vector4
-
getter/setter pair
- sqq → Vector3
-
no setter
- sqqp → Vector4
-
no setter
- sqqq → Vector4
-
no setter
- sqqs → Vector4
-
no setter
- sqqt → Vector4
-
no setter
- sqs → Vector3
-
no setter
- sqsp → Vector4
-
no setter
- sqsq → Vector4
-
no setter
- sqss → Vector4
-
no setter
- sqst → Vector4
-
no setter
- sqt ↔ Vector3
-
getter/setter pair
- sqtp ↔ Vector4
-
getter/setter pair
- sqtq → Vector4
-
no setter
- sqts → Vector4
-
no setter
- sqtt → Vector4
-
no setter
- ss → Vector2
-
no setter
- ssp → Vector3
-
no setter
- sspp → Vector4
-
no setter
- sspq → Vector4
-
no setter
- ssps → Vector4
-
no setter
- sspt → Vector4
-
no setter
- ssq → Vector3
-
no setter
- ssqp → Vector4
-
no setter
- ssqq → Vector4
-
no setter
- ssqs → Vector4
-
no setter
- ssqt → Vector4
-
no setter
- sss → Vector3
-
no setter
- sssp → Vector4
-
no setter
- sssq → Vector4
-
no setter
- ssss → Vector4
-
no setter
- ssst → Vector4
-
no setter
- sst → Vector3
-
no setter
- sstp → Vector4
-
no setter
- sstq → Vector4
-
no setter
- ssts → Vector4
-
no setter
- sstt → Vector4
-
no setter
- st ↔ Vector2
-
getter/setter pair
- storage → Float32List
-
The components of the vector.
no setteroverride
- stp ↔ Vector3
-
getter/setter pair
- stpp → Vector4
-
no setter
- stpq ↔ Vector4
-
getter/setter pair
- stps → Vector4
-
no setter
- stpt → Vector4
-
no setter
- stq ↔ Vector3
-
getter/setter pair
- stqp ↔ Vector4
-
getter/setter pair
- stqq → Vector4
-
no setter
- stqs → Vector4
-
no setter
- stqt → Vector4
-
no setter
- sts → Vector3
-
no setter
- stsp → Vector4
-
no setter
- stsq → Vector4
-
no setter
- stss → Vector4
-
no setter
- stst → Vector4
-
no setter
- stt → Vector3
-
no setter
- sttp → Vector4
-
no setter
- sttq → Vector4
-
no setter
- stts → Vector4
-
no setter
- sttt → Vector4
-
no setter
- t ↔ double
-
getter/setter pair
- tp ↔ Vector2
-
getter/setter pair
- tpp → Vector3
-
no setter
- tppp → Vector4
-
no setter
- tppq → Vector4
-
no setter
- tpps → Vector4
-
no setter
- tppt → Vector4
-
no setter
- tpq ↔ Vector3
-
getter/setter pair
- tpqp → Vector4
-
no setter
- tpqq → Vector4
-
no setter
- tpqs ↔ Vector4
-
getter/setter pair
- tpqt → Vector4
-
no setter
- tps ↔ Vector3
-
getter/setter pair
- tpsp → Vector4
-
no setter
- tpsq ↔ Vector4
-
getter/setter pair
- tpss → Vector4
-
no setter
- tpst → Vector4
-
no setter
- tpt → Vector3
-
no setter
- tptp → Vector4
-
no setter
- tptq → Vector4
-
no setter
- tpts → Vector4
-
no setter
- tptt → Vector4
-
no setter
- tq ↔ Vector2
-
getter/setter pair
- tqp ↔ Vector3
-
getter/setter pair
- tqpp → Vector4
-
no setter
- tqpq → Vector4
-
no setter
- tqps ↔ Vector4
-
getter/setter pair
- tqpt → Vector4
-
no setter
- tqq → Vector3
-
no setter
- tqqp → Vector4
-
no setter
- tqqq → Vector4
-
no setter
- tqqs → Vector4
-
no setter
- tqqt → Vector4
-
no setter
- tqs ↔ Vector3
-
getter/setter pair
- tqsp ↔ Vector4
-
getter/setter pair
- tqsq → Vector4
-
no setter
- tqss → Vector4
-
no setter
- tqst → Vector4
-
no setter
- tqt → Vector3
-
no setter
- tqtp → Vector4
-
no setter
- tqtq → Vector4
-
no setter
- tqts → Vector4
-
no setter
- tqtt → Vector4
-
no setter
- ts ↔ Vector2
-
getter/setter pair
- tsp ↔ Vector3
-
getter/setter pair
- tspp → Vector4
-
no setter
- tspq ↔ Vector4
-
getter/setter pair
- tsps → Vector4
-
no setter
- tspt → Vector4
-
no setter
- tsq ↔ Vector3
-
getter/setter pair
- tsqp ↔ Vector4
-
getter/setter pair
- tsqq → Vector4
-
no setter
- tsqs → Vector4
-
no setter
- tsqt → Vector4
-
no setter
- tss → Vector3
-
no setter
- tssp → Vector4
-
no setter
- tssq → Vector4
-
no setter
- tsss → Vector4
-
no setter
- tsst → Vector4
-
no setter
- tst → Vector3
-
no setter
- tstp → Vector4
-
no setter
- tstq → Vector4
-
no setter
- tsts → Vector4
-
no setter
- tstt → Vector4
-
no setter
- tt → Vector2
-
no setter
- ttp → Vector3
-
no setter
- ttpp → Vector4
-
no setter
- ttpq → Vector4
-
no setter
- ttps → Vector4
-
no setter
- ttpt → Vector4
-
no setter
- ttq → Vector3
-
no setter
- ttqp → Vector4
-
no setter
- ttqq → Vector4
-
no setter
- ttqs → Vector4
-
no setter
- ttqt → Vector4
-
no setter
- tts → Vector3
-
no setter
- ttsp → Vector4
-
no setter
- ttsq → Vector4
-
no setter
- ttss → Vector4
-
no setter
- ttst → Vector4
-
no setter
- ttt → Vector3
-
no setter
- tttp → Vector4
-
no setter
- tttq → Vector4
-
no setter
- ttts → Vector4
-
no setter
- tttt → Vector4
-
no setter
- w ↔ double
-
getter/setter pair
- ww → Vector2
-
no setter
- www → Vector3
-
no setter
- wwww → Vector4
-
no setter
- wwwx → Vector4
-
no setter
- wwwy → Vector4
-
no setter
- wwwz → Vector4
-
no setter
- wwx → Vector3
-
no setter
- wwxw → Vector4
-
no setter
- wwxx → Vector4
-
no setter
- wwxy → Vector4
-
no setter
- wwxz → Vector4
-
no setter
- wwy → Vector3
-
no setter
- wwyw → Vector4
-
no setter
- wwyx → Vector4
-
no setter
- wwyy → Vector4
-
no setter
- wwyz → Vector4
-
no setter
- wwz → Vector3
-
no setter
- wwzw → Vector4
-
no setter
- wwzx → Vector4
-
no setter
- wwzy → Vector4
-
no setter
- wwzz → Vector4
-
no setter
- wx ↔ Vector2
-
getter/setter pair
- wxw → Vector3
-
no setter
- wxww → Vector4
-
no setter
- wxwx → Vector4
-
no setter
- wxwy → Vector4
-
no setter
- wxwz → Vector4
-
no setter
- wxx → Vector3
-
no setter
- wxxw → Vector4
-
no setter
- wxxx → Vector4
-
no setter
- wxxy → Vector4
-
no setter
- wxxz → Vector4
-
no setter
- wxy ↔ Vector3
-
getter/setter pair
- wxyw → Vector4
-
no setter
- wxyx → Vector4
-
no setter
- wxyy → Vector4
-
no setter
- wxyz ↔ Vector4
-
getter/setter pair
- wxz ↔ Vector3
-
getter/setter pair
- wxzw → Vector4
-
no setter
- wxzx → Vector4
-
no setter
- wxzy ↔ Vector4
-
getter/setter pair
- wxzz → Vector4
-
no setter
- wy ↔ Vector2
-
getter/setter pair
- wyw → Vector3
-
no setter
- wyww → Vector4
-
no setter
- wywx → Vector4
-
no setter
- wywy → Vector4
-
no setter
- wywz → Vector4
-
no setter
- wyx ↔ Vector3
-
getter/setter pair
- wyxw → Vector4
-
no setter
- wyxx → Vector4
-
no setter
- wyxy → Vector4
-
no setter
- wyxz ↔ Vector4
-
getter/setter pair
- wyy → Vector3
-
no setter
- wyyw → Vector4
-
no setter
- wyyx → Vector4
-
no setter
- wyyy → Vector4
-
no setter
- wyyz → Vector4
-
no setter
- wyz ↔ Vector3
-
getter/setter pair
- wyzw → Vector4
-
no setter
- wyzx ↔ Vector4
-
getter/setter pair
- wyzy → Vector4
-
no setter
- wyzz → Vector4
-
no setter
- wz ↔ Vector2
-
getter/setter pair
- wzw → Vector3
-
no setter
- wzww → Vector4
-
no setter
- wzwx → Vector4
-
no setter
- wzwy → Vector4
-
no setter
- wzwz → Vector4
-
no setter
- wzx ↔ Vector3
-
getter/setter pair
- wzxw → Vector4
-
no setter
- wzxx → Vector4
-
no setter
- wzxy ↔ Vector4
-
getter/setter pair
- wzxz → Vector4
-
no setter
- wzy ↔ Vector3
-
getter/setter pair
- wzyw → Vector4
-
no setter
- wzyx ↔ Vector4
-
getter/setter pair
- wzyy → Vector4
-
no setter
- wzyz → Vector4
-
no setter
- wzz → Vector3
-
no setter
- wzzw → Vector4
-
no setter
- wzzx → Vector4
-
no setter
- wzzy → Vector4
-
no setter
- wzzz → Vector4
-
no setter
- x ↔ double
-
getter/setter pair
- xw ↔ Vector2
-
getter/setter pair
- xww → Vector3
-
no setter
- xwww → Vector4
-
no setter
- xwwx → Vector4
-
no setter
- xwwy → Vector4
-
no setter
- xwwz → Vector4
-
no setter
- xwx → Vector3
-
no setter
- xwxw → Vector4
-
no setter
- xwxx → Vector4
-
no setter
- xwxy → Vector4
-
no setter
- xwxz → Vector4
-
no setter
- xwy ↔ Vector3
-
getter/setter pair
- xwyw → Vector4
-
no setter
- xwyx → Vector4
-
no setter
- xwyy → Vector4
-
no setter
- xwyz ↔ Vector4
-
getter/setter pair
- xwz ↔ Vector3
-
getter/setter pair
- xwzw → Vector4
-
no setter
- xwzx → Vector4
-
no setter
- xwzy ↔ Vector4
-
getter/setter pair
- xwzz → Vector4
-
no setter
- xx → Vector2
-
no setter
- xxw → Vector3
-
no setter
- xxww → Vector4
-
no setter
- xxwx → Vector4
-
no setter
- xxwy → Vector4
-
no setter
- xxwz → Vector4
-
no setter
- xxx → Vector3
-
no setter
- xxxw → Vector4
-
no setter
- xxxx → Vector4
-
no setter
- xxxy → Vector4
-
no setter
- xxxz → Vector4
-
no setter
- xxy → Vector3
-
no setter
- xxyw → Vector4
-
no setter
- xxyx → Vector4
-
no setter
- xxyy → Vector4
-
no setter
- xxyz → Vector4
-
no setter
- xxz → Vector3
-
no setter
- xxzw → Vector4
-
no setter
- xxzx → Vector4
-
no setter
- xxzy → Vector4
-
no setter
- xxzz → Vector4
-
no setter
- xy ↔ Vector2
-
getter/setter pair
- xyw ↔ Vector3
-
getter/setter pair
- xyww → Vector4
-
no setter
- xywx → Vector4
-
no setter
- xywy → Vector4
-
no setter
- xywz ↔ Vector4
-
getter/setter pair
- xyx → Vector3
-
no setter
- xyxw → Vector4
-
no setter
- xyxx → Vector4
-
no setter
- xyxy → Vector4
-
no setter
- xyxz → Vector4
-
no setter
- xyy → Vector3
-
no setter
- xyyw → Vector4
-
no setter
- xyyx → Vector4
-
no setter
- xyyy → Vector4
-
no setter
- xyyz → Vector4
-
no setter
- xyz ↔ Vector3
-
getter/setter pair
- xyzw ↔ Vector4
-
getter/setter pair
- xyzx → Vector4
-
no setter
- xyzy → Vector4
-
no setter
- xyzz → Vector4
-
no setter
- xz ↔ Vector2
-
getter/setter pair
- xzw ↔ Vector3
-
getter/setter pair
- xzww → Vector4
-
no setter
- xzwx → Vector4
-
no setter
- xzwy ↔ Vector4
-
getter/setter pair
- xzwz → Vector4
-
no setter
- xzx → Vector3
-
no setter
- xzxw → Vector4
-
no setter
- xzxx → Vector4
-
no setter
- xzxy → Vector4
-
no setter
- xzxz → Vector4
-
no setter
- xzy ↔ Vector3
-
getter/setter pair
- xzyw ↔ Vector4
-
getter/setter pair
- xzyx → Vector4
-
no setter
- xzyy → Vector4
-
no setter
- xzyz → Vector4
-
no setter
- xzz → Vector3
-
no setter
- xzzw → Vector4
-
no setter
- xzzx → Vector4
-
no setter
- xzzy → Vector4
-
no setter
- xzzz → Vector4
-
no setter
- y ↔ double
-
getter/setter pair
- yw ↔ Vector2
-
getter/setter pair
- yww → Vector3
-
no setter
- ywww → Vector4
-
no setter
- ywwx → Vector4
-
no setter
- ywwy → Vector4
-
no setter
- ywwz → Vector4
-
no setter
- ywx ↔ Vector3
-
getter/setter pair
- ywxw → Vector4
-
no setter
- ywxx → Vector4
-
no setter
- ywxy → Vector4
-
no setter
- ywxz ↔ Vector4
-
getter/setter pair
- ywy → Vector3
-
no setter
- ywyw → Vector4
-
no setter
- ywyx → Vector4
-
no setter
- ywyy → Vector4
-
no setter
- ywyz → Vector4
-
no setter
- ywz ↔ Vector3
-
getter/setter pair
- ywzw → Vector4
-
no setter
- ywzx ↔ Vector4
-
getter/setter pair
- ywzy → Vector4
-
no setter
- ywzz → Vector4
-
no setter
- yx ↔ Vector2
-
getter/setter pair
- yxw ↔ Vector3
-
getter/setter pair
- yxww → Vector4
-
no setter
- yxwx → Vector4
-
no setter
- yxwy → Vector4
-
no setter
- yxwz ↔ Vector4
-
getter/setter pair
- yxx → Vector3
-
no setter
- yxxw → Vector4
-
no setter
- yxxx → Vector4
-
no setter
- yxxy → Vector4
-
no setter
- yxxz → Vector4
-
no setter
- yxy → Vector3
-
no setter
- yxyw → Vector4
-
no setter
- yxyx → Vector4
-
no setter
- yxyy → Vector4
-
no setter
- yxyz → Vector4
-
no setter
- yxz ↔ Vector3
-
getter/setter pair
- yxzw ↔ Vector4
-
getter/setter pair
- yxzx → Vector4
-
no setter
- yxzy → Vector4
-
no setter
- yxzz → Vector4
-
no setter
- yy → Vector2
-
no setter
- yyw → Vector3
-
no setter
- yyww → Vector4
-
no setter
- yywx → Vector4
-
no setter
- yywy → Vector4
-
no setter
- yywz → Vector4
-
no setter
- yyx → Vector3
-
no setter
- yyxw → Vector4
-
no setter
- yyxx → Vector4
-
no setter
- yyxy → Vector4
-
no setter
- yyxz → Vector4
-
no setter
- yyy → Vector3
-
no setter
- yyyw → Vector4
-
no setter
- yyyx → Vector4
-
no setter
- yyyy → Vector4
-
no setter
- yyyz → Vector4
-
no setter
- yyz → Vector3
-
no setter
- yyzw → Vector4
-
no setter
- yyzx → Vector4
-
no setter
- yyzy → Vector4
-
no setter
- yyzz → Vector4
-
no setter
- yz ↔ Vector2
-
getter/setter pair
- yzw ↔ Vector3
-
getter/setter pair
- yzww → Vector4
-
no setter
- yzwx ↔ Vector4
-
getter/setter pair
- yzwy → Vector4
-
no setter
- yzwz → Vector4
-
no setter
- yzx ↔ Vector3
-
getter/setter pair
- yzxw ↔ Vector4
-
getter/setter pair
- yzxx → Vector4
-
no setter
- yzxy → Vector4
-
no setter
- yzxz → Vector4
-
no setter
- yzy → Vector3
-
no setter
- yzyw → Vector4
-
no setter
- yzyx → Vector4
-
no setter
- yzyy → Vector4
-
no setter
- yzyz → Vector4
-
no setter
- yzz → Vector3
-
no setter
- yzzw → Vector4
-
no setter
- yzzx → Vector4
-
no setter
- yzzy → Vector4
-
no setter
- yzzz → Vector4
-
no setter
- z ↔ double
-
getter/setter pair
- zw ↔ Vector2
-
getter/setter pair
- zww → Vector3
-
no setter
- zwww → Vector4
-
no setter
- zwwx → Vector4
-
no setter
- zwwy → Vector4
-
no setter
- zwwz → Vector4
-
no setter
- zwx ↔ Vector3
-
getter/setter pair
- zwxw → Vector4
-
no setter
- zwxx → Vector4
-
no setter
- zwxy ↔ Vector4
-
getter/setter pair
- zwxz → Vector4
-
no setter
- zwy ↔ Vector3
-
getter/setter pair
- zwyw → Vector4
-
no setter
- zwyx ↔ Vector4
-
getter/setter pair
- zwyy → Vector4
-
no setter
- zwyz → Vector4
-
no setter
- zwz → Vector3
-
no setter
- zwzw → Vector4
-
no setter
- zwzx → Vector4
-
no setter
- zwzy → Vector4
-
no setter
- zwzz → Vector4
-
no setter
- zx ↔ Vector2
-
getter/setter pair
- zxw ↔ Vector3
-
getter/setter pair
- zxww → Vector4
-
no setter
- zxwx → Vector4
-
no setter
- zxwy ↔ Vector4
-
getter/setter pair
- zxwz → Vector4
-
no setter
- zxx → Vector3
-
no setter
- zxxw → Vector4
-
no setter
- zxxx → Vector4
-
no setter
- zxxy → Vector4
-
no setter
- zxxz → Vector4
-
no setter
- zxy ↔ Vector3
-
getter/setter pair
- zxyw ↔ Vector4
-
getter/setter pair
- zxyx → Vector4
-
no setter
- zxyy → Vector4
-
no setter
- zxyz → Vector4
-
no setter
- zxz → Vector3
-
no setter
- zxzw → Vector4
-
no setter
- zxzx → Vector4
-
no setter
- zxzy → Vector4
-
no setter
- zxzz → Vector4
-
no setter
- zy ↔ Vector2
-
getter/setter pair
- zyw ↔ Vector3
-
getter/setter pair
- zyww → Vector4
-
no setter
- zywx ↔ Vector4
-
getter/setter pair
- zywy → Vector4
-
no setter
- zywz → Vector4
-
no setter
- zyx ↔ Vector3
-
getter/setter pair
- zyxw ↔ Vector4
-
getter/setter pair
- zyxx → Vector4
-
no setter
- zyxy → Vector4
-
no setter
- zyxz → Vector4
-
no setter
- zyy → Vector3
-
no setter
- zyyw → Vector4
-
no setter
- zyyx → Vector4
-
no setter
- zyyy → Vector4
-
no setter
- zyyz → Vector4
-
no setter
- zyz → Vector3
-
no setter
- zyzw → Vector4
-
no setter
- zyzx → Vector4
-
no setter
- zyzy → Vector4
-
no setter
- zyzz → Vector4
-
no setter
- zz → Vector2
-
no setter
- zzw → Vector3
-
no setter
- zzww → Vector4
-
no setter
- zzwx → Vector4
-
no setter
- zzwy → Vector4
-
no setter
- zzwz → Vector4
-
no setter
- zzx → Vector3
-
no setter
- zzxw → Vector4
-
no setter
- zzxx → Vector4
-
no setter
- zzxy → Vector4
-
no setter
- zzxz → Vector4
-
no setter
- zzy → Vector3
-
no setter
- zzyw → Vector4
-
no setter
- zzyx → Vector4
-
no setter
- zzyy → Vector4
-
no setter
- zzyz → Vector4
-
no setter
- zzz → Vector3
-
no setter
- zzzw → Vector4
-
no setter
- zzzx → Vector4
-
no setter
- zzzy → Vector4
-
no setter
- zzzz → Vector4
-
no setter
Methods
-
absolute(
) → void - Set this to the absolute.
-
absoluteError(
Vector4 correct) → double -
Absolute error between this and
correct
-
add(
Vector4 arg) → void -
addScaled(
Vector4 arg, double factor) → void -
Add
arg
scaled byfactor
to this. -
applyMatrix4(
Matrix4 arg) → void -
Multiplies this by
arg
. -
ceil(
) → void - Ceil entries in this.
-
clamp(
Vector4 min, Vector4 max) → void -
Clamp each entry n in this in the range [min
n
]-[maxn
]. -
clampScalar(
double min, double max) → void -
Clamp entries in this in the range
min
-max
. -
clone(
) → Vector4 - Create a copy of this.
-
copyFromArray(
List< double> array, [int offset = 0]) → void -
Copies elements from
array
into this starting atoffset
. -
copyInto(
Vector4 arg) → Vector4 - Copy this
-
copyIntoArray(
List< double> array, [int offset = 0]) → void -
Copies this into
array
starting atoffset
. -
distanceTo(
Vector4 arg) → double -
Distance from this to
arg
-
distanceToSquared(
Vector4 arg) → double -
Squared distance from this to
arg
-
div(
Vector4 arg) → void -
Divide this by
arg
. -
dot(
Vector4 other) → double - Inner product.
-
floor(
) → void - Floor entries in this.
-
multiply(
Vector4 arg) → void -
Multiply this by
arg
. -
negate(
) → void - Negate this.
-
normalize(
) → double - Normalizes this.
-
normalized(
) → Vector4 - Normalizes copy of this.
-
normalizeInto(
Vector4 out) → Vector4 -
Normalize vector into
out
. -
normalizeLength(
) → double - Normalizes this. Returns length of vector before normalization. DEPRCATED: Use normalize.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
relativeError(
Vector4 correct) → double -
Relative error between this and
correct
-
round(
) → void - Round entries in this.
-
roundToZero(
) → void - Round entries in this towards zero.
-
scale(
double arg) → void -
Scale this by
arg
. -
scaled(
double arg) → Vector4 -
Create a copy of this scaled by
arg
. -
setFrom(
Vector4 other) → void -
Set the values by copying them from
other
. -
setIdentity(
) → void - Set to the identity vector.
-
setValues(
double x_, double y_, double z_, double w_) → void - Set the values of the vector.
-
setZero(
) → void - Zero the vector.
-
splat(
double arg) → void -
Splat
arg
into all lanes of the vector. -
sub(
Vector4 arg) → void -
Subtract
arg
from this. -
toString(
) → String -
Returns a printable string
override
Operators
-
operator *(
double scale) → Vector4 - Scale.
-
operator +(
Vector4 other) → Vector4 - Add two vectors.
-
operator -(
Vector4 other) → Vector4 - Subtract two vectors.
-
operator /(
double scale) → Vector4 - Scale.
-
operator ==(
Object other) → bool -
Check if two vectors are the same.
override
-
operator [](
int i) → double -
Access the component of the vector at the index
i
. -
operator []=(
int i, double v) → void -
Set the component of the vector at the index
i
. -
operator unary-(
) → Vector4 - Negate.
Static Methods
-
max(
Vector4 a, Vector4 b, Vector4 result) → void -
Set the values of
result
to the maximum ofa
andb
for each line. -
min(
Vector4 a, Vector4 b, Vector4 result) → void -
Set the values of
result
to the minimum ofa
andb
for each line. -
mix(
Vector4 min, Vector4 max, double a, Vector4 result) → void -
Interpolate between
min
andmax
with the amount ofa
using a linear interpolation and store the values inresult
.