Skip to main content
CrystalDocs
Search documentation
Search
Browse Docs
CrystalShards
About
struct
Vec4(T)
Inherits
Struct
<
Value
<
Object
Constructors
new
(x :
T
, y :
T
, z :
T
, w :
T
)
Source
new
(x :
T
) :
Vec4
(
T
)
Source
Instance methods
[]
(*args, **options)
Source
[]
(*args, **options, &)
Source
[]=
(*args, **options)
Source
[]=
(*args, **options, &)
Source
data
Source
w
Source
x
Source
y
Source
z
Source