Table of Contents

Namespace Stride.Core.Mathematics

Classes

CollisionHelper

Contains static methods to help in determining intersections, containment, etc.

ColorExtensions

A class containing extension methods for processing colors.

GuillotinePacker

Implementation of a "Guillotine" packer. More information at https://github.com/juj/RectangleBinPack/blob/master/RectangleBinPack.pdf.

MathUtil

Common utility methods for math operations.

SphericalHarmonics

A spherical harmonics representation of a cubemap.

SphericalHarmonics<TDataType>

A representation of a sphere of values via Spherical Harmonics (SH).

VectorExtensions

Extensions methods of the vector classes.

Structs

AngleSingle

Represents a unit independant angle using a single-precision floating-point internal representation.

BoundingBox

Represents an axis-aligned bounding box in three dimensional space.

BoundingBoxExt

Represents an axis-aligned bounding box in three dimensional space that store only the Center and Extent.

BoundingFrustum

A bounding frustum.

BoundingSphere

Represents a bounding sphere in three dimensional space.

Color

Represents a 32-bit color (4 bytes) in the form of RGBA (in byte order: R, G, B, A).

Color3

Represents a color in the form of rgb.

Color4

Represents a color in the form of rgba.

ColorBGRA

Represents a 32-bit color (4 bytes) in the form of BGRA (in byte order: B, G, R, A).

ColorHSV

Represents a color in the form of Hue, Saturation, Value, Alpha.

Double2

Represents a two dimensional mathematical vector with double-precision floats.

Double3

Represents a three dimensional mathematical vector with double-precision floats.

Double4

Represents a four dimensional mathematical vector with double-precision floats.

Half

A half precision (16 bit) floating point value.

Half2

Represents a two dimensional mathematical vector with half-precision floats.

Half3

Represents a three dimensional mathematical vector with half-precision floats.

Half4

Represents a four dimensional mathematical vector with half-precision floats.

Int2

Represents a two dimensional mathematical vector.

Int3

Represents a three dimensional mathematical vector.

Int4

Represents a four dimensional mathematical vector.

Matrix

Represents a 4x4 mathematical matrix.

Plane

Represents a plane in three dimensional space.

Point

A 2D point.

Quaternion

Represents a four dimensional mathematical quaternion.

RandomSeed

The RandomSeed is a structure for deterministically acquiring random values. One RandomSeed should be able to reproduce the same pseudo-random value for a fixed offset, but provide enough random distribution for different offsets or different random seeds Although other methods exist, the current implementation can easily be replicated in the shaders if required

Ray

Represents a three dimensional line based on a point in space and a direction.

Rectangle

A rectangle structure defining X,Y,Width,Height.

RectangleF

Define a RectangleF.

Size2

Defines a 2D rectangular size (width,height).

Size2F

Defines a 2D rectangular size (width,height).

Size3

Structure providing Width, Height and Depth.

UInt4

Represents a four dimensional mathematical vector.

Vector2

Represents a two dimensional mathematical vector.

Vector3

Represents a three dimensional mathematical vector.

Vector4

Represents a four dimensional mathematical vector.

Interfaces

IIntersectableWithPlane

Allows to determine intersections with a Plane.

IIntersectableWithRay

Allows to determine intersections with a Ray.

Enums

AngleType

Describes the type of angle.

ContainmentType

Describes how one bounding volume contains another.

PlaneIntersectionType

Describes the result of an intersection with a plane in three dimensions.

Delegates

GuillotinePacker.InsertRectangleCallback

A delegate callback used by TryInsert(int, int, int, InsertRectangleCallback)