Ctrl+K

SpriteQuad

Declaration

public class Strawberry.Graphics.Layers.SpriteQuad

Implements: System.IEquatable

Constructors

SpriteQuad

void SpriteQuad(Texture texture, Vector4 xyuv1, Vector4 xyuv2, Vector4 xyuv3, Vector4 xyuv4, Color color, BasicShader shader, string blendName)

Parameters:

Name Type Description
texture Strawberry.Graphics.Texture
xyuv1 Strawberry.Math.Vector4
xyuv2 Strawberry.Math.Vector4
xyuv3 Strawberry.Math.Vector4
xyuv4 Strawberry.Math.Vector4
color Strawberry.Graphics.Color
shader Strawberry.Graphics.BasicShader
blendName System.String

Properties

Texture

Texture Texture { get set }

XYUV1

Vector4 XYUV1 { get set }

XYUV2

Vector4 XYUV2 { get set }

XYUV3

Vector4 XYUV3 { get set }

XYUV4

Vector4 XYUV4 { get set }

Color

Color Color { get set }

Shader

BasicShader Shader { get set }

BlendName

string BlendName { get set }

Methods

Equals

bool Equals(SpriteQuad other)

Parameters:

Name Type Description
other Strawberry.Graphics.Layers.SpriteQuad

Equals override

bool Equals(object obj)

Parameters:

Name Type Description
obj System.Object

GetHashCode override

int GetHashCode()

Operators

op_Equality static

bool op_Equality(SpriteQuad q1, SpriteQuad q2)

Parameters:

Name Type Description
q1 Strawberry.Graphics.Layers.SpriteQuad
q2 Strawberry.Graphics.Layers.SpriteQuad

op_Inequality static

bool op_Inequality(SpriteQuad q1, SpriteQuad q2)

Parameters:

Name Type Description
q1 Strawberry.Graphics.Layers.SpriteQuad
q2 Strawberry.Graphics.Layers.SpriteQuad