C# Class NetMud.Physics.Render

Render engine for dimensional models
Afficher le fichier Open project: SwiftAusterity/NetMud

Méthodes publiques

Méthode Description
CharacterToDamageType ( string chr ) : DamageType

Converts render characters to damage types

DamageTypeToCharacter ( DamageType type, bool leftOfCenter = false ) : string

Converts damage types to characters for use in model rendering

FlattenModel ( IDimensionalModelData model ) : string

Flattens a dimensional model for display

FlattenModelForWeb ( IDimensionalModelData model ) : string

Flattens a dimensional model for display on the web (with material tooltips)

Private Methods

Méthode Description
FlattenFlatModel ( IDimensionalModelData model, bool forWeb = false ) : string

Method Details

CharacterToDamageType() public static méthode

Converts render characters to damage types
public static CharacterToDamageType ( string chr ) : DamageType
chr string actually a string, the character to convert
Résultat DamageType

DamageTypeToCharacter() public static méthode

Converts damage types to characters for use in model rendering
public static DamageTypeToCharacter ( DamageType type, bool leftOfCenter = false ) : string
type DamageType the damage type to convert
leftOfCenter bool
Résultat string

FlattenModel() public static méthode

Flattens a dimensional model for display
public static FlattenModel ( IDimensionalModelData model ) : string
model IDimensionalModelData the model to flatten
Résultat string

FlattenModelForWeb() public static méthode

Flattens a dimensional model for display on the web (with material tooltips)
public static FlattenModelForWeb ( IDimensionalModelData model ) : string
model IDimensionalModelData the model to flatten
Résultat string