GeonBit.UI Documentation
TexturesGetterTEnumItem Property (TEnum, EntityState) |
Get texture for enum state and entity state.
This is for textures that don't have different states, like mouse hover, down, or default.
Namespace: GeonBit.UI
Assembly: GeonBit.UI (in GeonBit.UI.dll) Version: 1.0.0.0 (1.0.0.0)

C#
public Texture2D this[ TEnum i, EntityState s ] { get; set; }
Parameters
- i
- Type: TEnum
Texture enum identifier. - s
- Type: GeonBit.UI.EntitiesEntityState
Entity state to get texture for.
Return Value
Type: Texture2DLoaded texture.
