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
SimpleMaterial(Texture, int, bool)
public SimpleMaterial(Texture texture, int renderOrder, bool blending)
Parameters
Properties
AlphaFactor
public float AlphaFactor { get; set; }
Property Value
CircularMaskingCenter
public Vector2 CircularMaskingCenter { get; set; }
Property Value
CircularMaskingEnabled
public bool CircularMaskingEnabled { get; set; }
Property Value
CircularMaskingRadius
public float CircularMaskingRadius { get; set; }
Property Value
CircularMaskingSmoothingRadius
public float CircularMaskingSmoothingRadius { get; set; }
Property Value
Color
public Color Color { get; set; }
Property Value
ColorFactor
public float ColorFactor { get; set; }
Property Value
HueFactor
public float HueFactor { get; set; }
Property Value
OverlayEnabled
public bool OverlayEnabled { get; set; }
Property Value
OverlayTexture
public Texture OverlayTexture { get; set; }
Property Value
OverlayTextureHeight
public float OverlayTextureHeight { get; set; }
Property Value
OverlayTextureWidth
public float OverlayTextureWidth { get; set; }
Property Value
OverlayXOffset
public float OverlayXOffset { get; set; }
Property Value
OverlayYOffset
public float OverlayYOffset { get; set; }
Property Value
SaturationFactor
public float SaturationFactor { get; set; }
Property Value
Scale
public float Scale { get; set; }
Property Value
Size
public Vector2 Size { get; set; }
Property Value
StartCoordinate
public Vector2 StartCoordinate { get; set; }
Property Value
Texture
public Texture Texture { get; set; }
Property Value
UseOverlayAlphaAsMask
public bool UseOverlayAlphaAsMask { get; set; }
Property Value
ValueFactor
public float ValueFactor { get; set; }
Property Value
Methods
GetCircularMaskingCenter()
public Vec2 GetCircularMaskingCenter()
Returns
GetOverlaySize()
public Vec2 GetOverlaySize()
Returns
GetOverlayStartCoordinate()
public Vec2 GetOverlayStartCoordinate()
Returns
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).