M&B: Bannerlord 1.2.7
The horns sound, the ravens gather.
Loading...
Searching...
No Matches
TaleWorlds.TwoDimension.SimpleMaterial Class Reference

Inherits TaleWorlds.TwoDimension.Material.

Public Member Functions

 SimpleMaterial ()
 
 SimpleMaterial (Texture texture)
 
 SimpleMaterial (Texture texture, int renderOrder)
 
 SimpleMaterial (Texture texture, int renderOrder, bool blending)
 
void Reset (Texture texture=null)
 
Vec2 GetCircularMaskingCenter ()
 Gets TaleWorlds.Library.Vec2 of System.Numerics.Vector2.
 
Vec2 GetOverlayStartCoordinate ()
 Gets TaleWorlds.Library.Vec2 of System.Numerics.Vector2.
 
Vec2 GetOverlaySize ()
 Gets TaleWorlds.Library.Vec2 of System.Numerics.Vector2.
 

Properties

Texture Texture [get, set]
 
Color Color [get, set]
 
float ColorFactor [get, set]
 
float AlphaFactor [get, set]
 
float HueFactor [get, set]
 
float SaturationFactor [get, set]
 
float ValueFactor [get, set]
 
bool CircularMaskingEnabled [get, set]
 
Vector2 CircularMaskingCenter [get, set]
 
float CircularMaskingRadius [get, set]
 
float CircularMaskingSmoothingRadius [get, set]
 
bool OverlayEnabled [get, set]
 
Vector2 StartCoordinate [get, set]
 
Vector2 Size [get, set]
 
Texture OverlayTexture [get, set]
 
bool UseOverlayAlphaAsMask [get, set]
 
float Scale [get, set]
 
float OverlayTextureWidth [get, set]
 
float OverlayTextureHeight [get, set]
 
float OverlayXOffset [get, set]
 
float OverlayYOffset [get, set]
 
- Properties inherited from TaleWorlds.TwoDimension.Material
bool Blending [get]
 
int RenderOrder [get]
 

Additional Inherited Members

- Protected Member Functions inherited from TaleWorlds.TwoDimension.Material
 Material (bool blending, int renderOrder)
 

Constructor & Destructor Documentation

◆ SimpleMaterial() [1/4]

TaleWorlds.TwoDimension.SimpleMaterial.SimpleMaterial ( )

◆ SimpleMaterial() [2/4]

TaleWorlds.TwoDimension.SimpleMaterial.SimpleMaterial ( Texture  texture)

◆ SimpleMaterial() [3/4]

TaleWorlds.TwoDimension.SimpleMaterial.SimpleMaterial ( Texture  texture,
int  renderOrder 
)

◆ SimpleMaterial() [4/4]

TaleWorlds.TwoDimension.SimpleMaterial.SimpleMaterial ( Texture  texture,
int  renderOrder,
bool  blending 
)

Member Function Documentation

◆ Reset()

void TaleWorlds.TwoDimension.SimpleMaterial.Reset ( Texture  texture = null)

◆ GetCircularMaskingCenter()

Vec2 TaleWorlds.TwoDimension.SimpleMaterial.GetCircularMaskingCenter ( )
Returns

◆ GetOverlayStartCoordinate()

Vec2 TaleWorlds.TwoDimension.SimpleMaterial.GetOverlayStartCoordinate ( )
Returns

◆ GetOverlaySize()

Vec2 TaleWorlds.TwoDimension.SimpleMaterial.GetOverlaySize ( )
Returns

Property Documentation

◆ Texture

Texture TaleWorlds.TwoDimension.SimpleMaterial.Texture
getset

◆ Color

Color TaleWorlds.TwoDimension.SimpleMaterial.Color
getset

◆ ColorFactor

float TaleWorlds.TwoDimension.SimpleMaterial.ColorFactor
getset

◆ AlphaFactor

float TaleWorlds.TwoDimension.SimpleMaterial.AlphaFactor
getset

◆ HueFactor

float TaleWorlds.TwoDimension.SimpleMaterial.HueFactor
getset

◆ SaturationFactor

float TaleWorlds.TwoDimension.SimpleMaterial.SaturationFactor
getset

◆ ValueFactor

float TaleWorlds.TwoDimension.SimpleMaterial.ValueFactor
getset

◆ CircularMaskingEnabled

bool TaleWorlds.TwoDimension.SimpleMaterial.CircularMaskingEnabled
getset

◆ CircularMaskingCenter

Vector2 TaleWorlds.TwoDimension.SimpleMaterial.CircularMaskingCenter
getset

◆ CircularMaskingRadius

float TaleWorlds.TwoDimension.SimpleMaterial.CircularMaskingRadius
getset

◆ CircularMaskingSmoothingRadius

float TaleWorlds.TwoDimension.SimpleMaterial.CircularMaskingSmoothingRadius
getset

◆ OverlayEnabled

bool TaleWorlds.TwoDimension.SimpleMaterial.OverlayEnabled
getset

◆ StartCoordinate

Vector2 TaleWorlds.TwoDimension.SimpleMaterial.StartCoordinate
getset

◆ Size

Vector2 TaleWorlds.TwoDimension.SimpleMaterial.Size
getset

◆ OverlayTexture

Texture TaleWorlds.TwoDimension.SimpleMaterial.OverlayTexture
getset

◆ UseOverlayAlphaAsMask

bool TaleWorlds.TwoDimension.SimpleMaterial.UseOverlayAlphaAsMask
getset

◆ Scale

float TaleWorlds.TwoDimension.SimpleMaterial.Scale
getset

◆ OverlayTextureWidth

float TaleWorlds.TwoDimension.SimpleMaterial.OverlayTextureWidth
getset

◆ OverlayTextureHeight

float TaleWorlds.TwoDimension.SimpleMaterial.OverlayTextureHeight
getset

◆ OverlayXOffset

float TaleWorlds.TwoDimension.SimpleMaterial.OverlayXOffset
getset

◆ OverlayYOffset

float TaleWorlds.TwoDimension.SimpleMaterial.OverlayYOffset
getset