Table of Contents

Class SimpleMaterial

Namespace
TaleWorlds.TwoDimension
Assembly
TaleWorlds.TwoDimension.dll
public class SimpleMaterial : Material
Inheritance
SimpleMaterial
Inherited Members

Constructors

SimpleMaterial()

public SimpleMaterial()

SimpleMaterial(Texture)

public SimpleMaterial(Texture texture)

Parameters

texture Texture

SimpleMaterial(Texture, int)

public SimpleMaterial(Texture texture, int renderOrder)

Parameters

texture Texture
renderOrder int

SimpleMaterial(Texture, int, bool)

public SimpleMaterial(Texture texture, int renderOrder, bool blending)

Parameters

texture Texture
renderOrder int
blending bool

Properties

AlphaFactor

public float AlphaFactor { get; set; }

Property Value

float

CircularMaskingCenter

public Vector2 CircularMaskingCenter { get; set; }

Property Value

Vector2

CircularMaskingEnabled

public bool CircularMaskingEnabled { get; set; }

Property Value

bool

CircularMaskingRadius

public float CircularMaskingRadius { get; set; }

Property Value

float

CircularMaskingSmoothingRadius

public float CircularMaskingSmoothingRadius { get; set; }

Property Value

float

Color

public Color Color { get; set; }

Property Value

Color

ColorFactor

public float ColorFactor { get; set; }

Property Value

float

HueFactor

public float HueFactor { get; set; }

Property Value

float

OverlayEnabled

public bool OverlayEnabled { get; set; }

Property Value

bool

OverlayTexture

public Texture OverlayTexture { get; set; }

Property Value

Texture

OverlayTextureHeight

public float OverlayTextureHeight { get; set; }

Property Value

float

OverlayTextureWidth

public float OverlayTextureWidth { get; set; }

Property Value

float

OverlayXOffset

public float OverlayXOffset { get; set; }

Property Value

float

OverlayYOffset

public float OverlayYOffset { get; set; }

Property Value

float

SaturationFactor

public float SaturationFactor { get; set; }

Property Value

float

Scale

public float Scale { get; set; }

Property Value

float

Size

public Vector2 Size { get; set; }

Property Value

Vector2

StartCoordinate

public Vector2 StartCoordinate { get; set; }

Property Value

Vector2

Texture

public Texture Texture { get; set; }

Property Value

Texture

UseOverlayAlphaAsMask

public bool UseOverlayAlphaAsMask { get; set; }

Property Value

bool

ValueFactor

public float ValueFactor { get; set; }

Property Value

float

Methods

GetCircularMaskingCenter()

public Vec2 GetCircularMaskingCenter()

Returns

Vec2

GetOverlaySize()

public Vec2 GetOverlaySize()

Returns

Vec2

GetOverlayStartCoordinate()

public Vec2 GetOverlayStartCoordinate()

Returns

Vec2

Reset(Texture)

public void Reset(Texture texture = null)

Parameters

texture Texture

This page was last modified at 09/01/2024 16:12:00 +00:00 (UTC).