Table of Contents

Class Utilities

Namespace
Pinwheel.Poseidon
Assembly
Pinwheel.Poseidon.Runtime.dll

Utility class for helper function

public static class Utilities
Inheritance
Utilities
Inherited Members

Properties

DeltaTime
IsPlaying
QuadMesh

Methods

AddIfNotContains<T>(IList<T>, IEnumerable<T>)
AddIfNotContains<T>(IList<T>, T)
AreSetEqual(ushort[], ushort[])
CalculateBarycentricCoord(Vector2, Vector2, Vector2, Vector2, ref Vector3)
ClearChildren(Transform)
Clone(AnimationCurve)
Clone(Gradient)
ContainIdenticalElements<T>(T[], T[])
CopyTo<T>(T[], T[])
CreateFullTransparentGradient()
CreateFullWhiteGradient()
CreatePreviewCamera(GameObject, float, float)
CreatePreviewGameObject(Mesh, Material, Vector3)
DestroyGameObjectWithUndo(GameObject)
DestroyGameobject(GameObject)
DestroyMeshArray(Mesh[])
DestroyObject(Object)
DoubleMeshBounds(Mesh)
Ellipsis(string, int)
EnsureArrayLength<T>(ref T[], int)
EnsureDirectoryExists(string)
EnsureLengthSufficient(List<bool>, int)
EnsureLengthSufficient<T>(List<T>, int)
ExpandTrisUvCoord(Texture2D, Vector2[])
Fill<T>(T[], T)
FlipY(Vector2)
GetChildrenGameObjects(Transform)
GetChildrenTransforms(Transform)
GetChildrenWithName(Transform, string)
GetColor(Color, float)
GetColorBilinear(Color[], int, int, Vector2)
GetDebugColor(int)
GetFraction(float, float, float)
GetIndicesArray(int)
GetNearestMultiple(float, float)
GetOrAddComponent<T>(GameObject)
GetPrimitiveMesh(PrimitiveType)
GetRectContainsPoints(params Vector2[])
GetShuffleIndicesArray(int)
GetUvRect(Vector2, Vector2, Vector2)
GetValueBilinear(float[], int, int, Vector2)
InverseLerpUnclamped(float, float, float)
IsInRange(float, float, float)
IsInRangeExclusive(float, float, float)
IsPointInCircumcircle(Vector2, Vector2, Vector2, Vector2)

https://en.wikipedia.org/wiki/Delaunay_triangulation#Algorithms

IsPointInCircumcircleXZ(Vector3, Vector3, Vector3, Vector3)
IsPointInsideQuadXZ(Vector3, Vector3[])
IsRectContainPointExclusive(Rect, Vector2)
ListElementsToString<T>(IEnumerable<T>, string)
MarkCurrentSceneDirty()
PointToNormalizedUnclampled(Rect, Vector2)
Repeat(char, int)
ResetArray<T>(ref T[], int, T)
ResetTransform(Transform, Transform)
RotateVectorAroundNormal(Vector3, Vector3, float)

https://en.wikipedia.org/wiki/Rodrigues%27_rotation_formula

SetStaticRecursively(GameObject, bool)
ShuffleList<T>(List<T>)
Sum(int[,])
To1DIndex(int, int, int)