Versions in this module Expand all Collapse all v0 v0.2.1 Jun 20, 2021 v0.2.0 Apr 17, 2021 v0.1.0 Jan 19, 2021 Changes in this version + const BrickColorIndexSize + const BrickColorPaletteSize + type Aliaser interface + Alias func() Value + type Axes struct + X bool + Y bool + Z bool + func NewAxesFromAxis(axes ...Axis) Axes + func NewAxesFromFace(faces ...Face) Axes + func (Axes) Type() string + func (a Axes) Copy() PropValue + func (a Axes) Face(face Face) bool + func (a Axes) String() string + type Axis int8 + const AxisX + const AxisY + const AxisZ + func (axis Axis) Valid() bool + type BinaryString []byte + func (BinaryString) Type() string + func (s BinaryString) Copy() PropValue + func (s BinaryString) String() string + func (s BinaryString) Stringlike() string + type Bool bool + const False + const True + func (Bool) Type() string + func (b Bool) Copy() PropValue + func (b Bool) String() string + type BrickColor uint32 + const BrickColorDefault + func NewBrickColor(number int) BrickColor + func NewBrickColorFromColor(r, g, b float64) BrickColor + func NewBrickColorFromColor3(color Color3) BrickColor + func NewBrickColorFromIndex(index int) BrickColor + func NewBrickColorFromName(name string) BrickColor + func NewBrickColorFromPalette(index int) BrickColor + func (BrickColor) Type() string + func (b BrickColor) B() float64 + func (b BrickColor) Color() Color3 + func (b BrickColor) Copy() PropValue + func (b BrickColor) G() float64 + func (b BrickColor) Index() int + func (b BrickColor) Name() string + func (b BrickColor) Number() int + func (b BrickColor) R() float64 + func (b BrickColor) String() string + type CFrame struct + Position Vector3 + Rotation [9]float32 + func NewCFrame() CFrame + func NewCFrameFromAngles(rx, ry, rz float64) CFrame + func NewCFrameFromAxisAngle(axis Vector3, rotation float64) CFrame + func NewCFrameFromComponents(x, y, z, r00, r01, r02, r10, r11, r12, r20, r21, r22 float64) CFrame + func NewCFrameFromLook(pos, lookAt Vector3) CFrame + func NewCFrameFromLookAt(pos, lookAt, up Vector3) CFrame + func NewCFrameFromMatrix(p, vx, vy, vz Vector3) CFrame + func NewCFrameFromOrientation(rx, ry, rz float64) CFrame + func NewCFrameFromPosition(x, y, z float64) CFrame + func NewCFrameFromQuat(x, y, z, qx, qy, qz, qw float64) CFrame + func NewCFrameFromVector3(v Vector3) CFrame + func (CFrame) Type() string + func (a CFrame) Mul(b CFrame) CFrame + func (c CFrame) AddV3(op Vector3) CFrame + func (c CFrame) Angles() (rx, ry, rz float64) + func (c CFrame) AxisAngle() (axis Vector3, rotation float64) + func (c CFrame) Components() (x, y, z, r00, r01, r02, r10, r11, r12, r20, r21, r22 float64) + func (c CFrame) Copy() PropValue + func (c CFrame) Inverse() CFrame + func (c CFrame) Lerp(goal CFrame, alpha float64) CFrame + func (c CFrame) LookVector() Vector3 + func (c CFrame) MulV3(op Vector3) Vector3 + func (c CFrame) Orientation() (rx, ry, rz float64) + func (c CFrame) PointToObjectSpace(v Vector3) Vector3 + func (c CFrame) PointToWorldSpace(v Vector3) Vector3 + func (c CFrame) Quaternion() (qx, qy, qz, qw float64) + func (c CFrame) RightVector() Vector3 + func (c CFrame) String() string + func (c CFrame) SubV3(op Vector3) CFrame + func (c CFrame) ToObjectSpace(cf CFrame) CFrame + func (c CFrame) ToWorldSpace(cf CFrame) CFrame + func (c CFrame) UpVector() Vector3 + func (c CFrame) VectorToObjectSpace(v Vector3) Vector3 + func (c CFrame) VectorToWorldSpace(v Vector3) Vector3 + func (c CFrame) X() float64 + func (c CFrame) XVector() Vector3 + func (c CFrame) Y() float64 + func (c CFrame) YVector() Vector3 + func (c CFrame) Z() float64 + func (c CFrame) ZVector() Vector3 + type Color3 struct + B float32 + G float32 + R float32 + func NewColor3FromHSV(h, s, v float64) (c Color3) + func NewColor3FromRGB(r, g, b int) Color3 + func (Color3) Type() string + func (c Color3) Copy() PropValue + func (c Color3) Lerp(goal Color3, alpha float64) Color3 + func (c Color3) String() string + func (c Color3) ToHSV() (h, s, v float64) + type ColorSequence []ColorSequenceKeypoint + func (ColorSequence) Type() string + func (c ColorSequence) Copy() PropValue + func (c ColorSequence) String() string + type ColorSequenceKeypoint struct + Envelope float32 + Time float32 + Value Color3 + func (ColorSequenceKeypoint) Type() string + func (c ColorSequenceKeypoint) Copy() PropValue + func (c ColorSequenceKeypoint) String() string + type Content string + func (Content) Type() string + func (s Content) Copy() PropValue + func (s Content) String() string + func (s Content) Stringlike() string + type Double float64 + func (Double) Type() string + func (d Double) Copy() PropValue + func (d Double) Intlike() int64 + func (d Double) Numberlike() float64 + func (d Double) String() string + type Face int8 + const FaceBack + const FaceBottom + const FaceFront + const FaceLeft + const FaceRight + const FaceTop + func (face Face) Valid() bool + type Faces struct + Back bool + Bottom bool + Front bool + Left bool + Right bool + Top bool + func NewFacesFromAxis(axes ...Axis) Faces + func NewFacesFromFace(faces ...Face) Faces + func (Faces) Type() string + func (f Faces) Copy() PropValue + func (f Faces) String() string + type Float float32 + func (Float) Type() string + func (f Float) Copy() PropValue + func (f Float) Intlike() int64 + func (f Float) Numberlike() float64 + func (f Float) String() string + type Int int32 + func (Int) Type() string + func (i Int) Copy() PropValue + func (i Int) Intlike() int64 + func (i Int) Numberlike() float64 + func (i Int) String() string + type Int64 int64 + func (Int64) Type() string + func (i Int64) Copy() PropValue + func (i Int64) Intlike() int64 + func (i Int64) Numberlike() float64 + func (i Int64) String() string + type Intlike interface + Intlike func() int64 + type NumberRange struct + Max float32 + Min float32 + func (NumberRange) Type() string + func (n NumberRange) Copy() PropValue + func (n NumberRange) String() string + type NumberSequence []NumberSequenceKeypoint + func (NumberSequence) Type() string + func (n NumberSequence) Copy() PropValue + func (n NumberSequence) String() string + type NumberSequenceKeypoint struct + Envelope float32 + Time float32 + Value float32 + func (NumberSequenceKeypoint) Type() string + func (n NumberSequenceKeypoint) Copy() PropValue + func (n NumberSequenceKeypoint) String() string + type Numberlike interface + Numberlike func() float64 + type PhysicalProperties struct + CustomPhysics bool + Density float32 + Elasticity float32 + ElasticityWeight float32 + Friction float32 + FrictionWeight float32 + func (PhysicalProperties) Type() string + func (p PhysicalProperties) Copy() PropValue + func (p PhysicalProperties) String() string + type PropValue interface + Copy func() PropValue + type ProtectedString string + func (ProtectedString) Type() string + func (s ProtectedString) Copy() PropValue + func (s ProtectedString) String() string + func (s ProtectedString) Stringlike() string + type Ray struct + Direction Vector3 + Origin Vector3 + func (Ray) Type() string + func (r Ray) ClosestPoint(point Vector3) Vector3 + func (r Ray) Copy() PropValue + func (r Ray) Distance(point Vector3) float64 + func (r Ray) String() string + type Rect struct + Max Vector2 + Min Vector2 + func (Rect) Type() string + func (r Rect) Copy() PropValue + func (r Rect) Height() float64 + func (r Rect) String() string + func (r Rect) Width() float64 + type Region3 struct + Max Vector3 + Min Vector3 + func (Region3) Type() string + func (r Region3) CFrame() CFrame + func (r Region3) Copy() PropValue + func (r Region3) ExpandToGrid(res float64) Region3 + func (r Region3) Size() Vector3 + func (r Region3) String() string + type Region3int16 struct + Max Vector3int16 + Min Vector3int16 + func (Region3int16) Type() string + func (r Region3int16) Copy() PropValue + func (r Region3int16) String() string + type SharedString []byte + func (SharedString) Type() string + func (s SharedString) Copy() PropValue + func (s SharedString) String() string + func (s SharedString) Stringlike() string + type String string + func (String) Type() string + func (s String) Copy() PropValue + func (s String) String() string + func (s String) Stringlike() string + type Stringer interface + String func() string + type Stringlike interface + Stringlike func() string + type Token uint32 + func (Token) Type() string + func (t Token) Copy() PropValue + func (t Token) Intlike() int64 + func (t Token) Numberlike() float64 + func (t Token) String() string + type UDim struct + Offset int32 + Scale float32 + func (UDim) Type() string + func (u UDim) Add(v UDim) UDim + func (u UDim) Copy() PropValue + func (u UDim) Neg() UDim + func (u UDim) String() string + func (u UDim) Sub(v UDim) UDim + type UDim2 struct + X UDim + Y UDim + func (UDim2) Type() string + func (u UDim2) Add(v UDim2) UDim2 + func (u UDim2) Copy() PropValue + func (u UDim2) Lerp(goal UDim2, alpha float64) UDim2 + func (u UDim2) Neg() UDim2 + func (u UDim2) String() string + func (u UDim2) Sub(v UDim2) UDim2 + type Value interface + Type func() string + type Vector2 struct + X float32 + Y float32 + func NewVector2(x, y float64) Vector2 + func (Vector2) Type() string + func (v Vector2) Add(op Vector2) Vector2 + func (v Vector2) Copy() PropValue + func (v Vector2) Cross(op Vector2) float64 + func (v Vector2) Div(op Vector2) Vector2 + func (v Vector2) DivN(op float64) Vector2 + func (v Vector2) Dot(op Vector2) float64 + func (v Vector2) FuzzyEq(op Vector2, epsilon float64) bool + func (v Vector2) Lerp(goal Vector2, alpha float64) Vector2 + func (v Vector2) Magnitude() float64 + func (v Vector2) Mul(op Vector2) Vector2 + func (v Vector2) MulN(op float64) Vector2 + func (v Vector2) Neg() Vector2 + func (v Vector2) String() string + func (v Vector2) Sub(op Vector2) Vector2 + func (v Vector2) Unit() Vector2 + type Vector2int16 struct + X int16 + Y int16 + func NewVector2int16(x, y int) Vector2int16 + func (Vector2int16) Type() string + func (v Vector2int16) Add(op Vector2int16) Vector2int16 + func (v Vector2int16) Copy() PropValue + func (v Vector2int16) Div(op Vector2int16) Vector2int16 + func (v Vector2int16) DivN(op float64) Vector2int16 + func (v Vector2int16) Mul(op Vector2int16) Vector2int16 + func (v Vector2int16) MulN(op float64) Vector2int16 + func (v Vector2int16) Neg() Vector2int16 + func (v Vector2int16) String() string + func (v Vector2int16) Sub(op Vector2int16) Vector2int16 + type Vector3 struct + X float32 + Y float32 + Z float32 + func NewVector3(x, y, z float64) Vector3 + func NewVector3FromAxis(axis Axis) Vector3 + func NewVector3FromFace(normal Face) Vector3 + func (Vector3) Type() string + func (v Vector3) Add(op Vector3) Vector3 + func (v Vector3) Copy() PropValue + func (v Vector3) Cross(op Vector3) Vector3 + func (v Vector3) Div(op Vector3) Vector3 + func (v Vector3) DivN(op float64) Vector3 + func (v Vector3) Dot(op Vector3) float64 + func (v Vector3) FuzzyEq(op Vector3, epsilon float64) bool + func (v Vector3) Lerp(goal Vector3, alpha float64) Vector3 + func (v Vector3) Magnitude() float64 + func (v Vector3) Mul(op Vector3) Vector3 + func (v Vector3) MulN(op float64) Vector3 + func (v Vector3) Neg() Vector3 + func (v Vector3) String() string + func (v Vector3) Sub(op Vector3) Vector3 + func (v Vector3) Unit() Vector3 + type Vector3int16 struct + X int16 + Y int16 + Z int16 + func NewVector3int16(x, y, z int) Vector3int16 + func (Vector3int16) Type() string + func (v Vector3int16) Add(op Vector3int16) Vector3int16 + func (v Vector3int16) Copy() PropValue + func (v Vector3int16) Div(op Vector3int16) Vector3int16 + func (v Vector3int16) DivN(op float64) Vector3int16 + func (v Vector3int16) Mul(op Vector3int16) Vector3int16 + func (v Vector3int16) MulN(op float64) Vector3int16 + func (v Vector3int16) Neg() Vector3int16 + func (v Vector3int16) String() string + func (v Vector3int16) Sub(op Vector3int16) Vector3int16