Table of Contents

Class FSliceSprite

Namespace
Global
Assembly
Assembly-CSharp.dll
public class FSliceSprite : FSprite
Inheritance
FSliceSprite
Inherited Members

Constructors

FSliceSprite(FAtlasElement, float, float, float, float, float, float)

public FSliceSprite(FAtlasElement element, float width, float height, float insetTop, float insetRight, float insetBottom, float insetLeft)

Parameters

element FAtlasElement
width float
height float
insetTop float
insetRight float
insetBottom float
insetLeft float

FSliceSprite(string, float, float, float, float, float, float)

public FSliceSprite(string elementName, float width, float height, float insetTop, float insetRight, float insetBottom, float insetLeft)

Parameters

elementName string
width float
height float
insetTop float
insetRight float
insetBottom float
insetLeft float

Fields

_height

public float _height

Field Value

float

_insetBottom

public float _insetBottom

Field Value

float

_insetLeft

public float _insetLeft

Field Value

float

_insetRight

public float _insetRight

Field Value

float

_insetTop

public float _insetTop

Field Value

float

_sliceCount

public int _sliceCount

Field Value

int

_uvVertices

public Vector2[] _uvVertices

Field Value

Vector2[]

_width

public float _width

Field Value

float

Properties

height

public override float height { get; set; }

Property Value

float

width

public override float width { get; set; }

Property Value

float

Methods

HandleElementChanged()

public override void HandleElementChanged()

PopulateRenderLayer()

public override void PopulateRenderLayer()

SetInsets(float, float, float, float)

public void SetInsets(float insetTop, float insetRight, float insetBottom, float insetLeft)

Parameters

insetTop float
insetRight float
insetBottom float
insetLeft float

SetupSlices()

public void SetupSlices()

UpdateLocalVertices()

public override void UpdateLocalVertices()