Class ProceduralArt

Namespace
SurvivorsMaker.Presentation
Assembly
SurvivorsMaker.Presentation.dll

Reusable fallback sprites and materials generated for presentation without external artwork.

public static class ProceduralArt
Inheritance
ProceduralArt
Inherited Members

Methods

FitScale(Sprite, float)

Scale that makes sprite span worldSize units on its longest side.

public static float FitScale(Sprite sprite, float worldSize)

Parameters

sprite Sprite
worldSize float

Returns

float

Get(ProceduralShape)

public static Sprite Get(ProceduralShape shape)

Parameters

shape ProceduralShape

Returns

Sprite