Show / Hide Table of Contents

Class Decal

Inheritance
System.Object
Decal
Namespace: Content.Shared.Decals
Assembly: Content.Shared.dll
Syntax
public sealed class Decal : object

Constructors

| Improve this Doc View Source

Decal()

Declaration
public Decal()
| Improve this Doc View Source

Decal(Vector2, String, Nullable<Color>, Angle, Int32, Boolean)

Declaration
public Decal(Vector2 coordinates, string id, Color? color, Angle angle, int zIndex, bool cleanable)
Parameters
Type Name Description
Vector2 coordinates
System.String id
System.Nullable<Color> color
Angle angle
System.Int32 zIndex
System.Boolean cleanable

Fields

| Improve this Doc View Source

Angle

Declaration
public Angle Angle
Field Value
Type Description
Angle
| Improve this Doc View Source

Cleanable

Declaration
public bool Cleanable
Field Value
Type Description
System.Boolean
| Improve this Doc View Source

Color

Declaration
public Color? Color
Field Value
Type Description
System.Nullable<Color>
| Improve this Doc View Source

Coordinates

Declaration
public Vector2 Coordinates
Field Value
Type Description
Vector2
| Improve this Doc View Source

Id

Declaration
public string Id
Field Value
Type Description
System.String
| Improve this Doc View Source

ZIndex

Declaration
public int ZIndex
Field Value
Type Description
System.Int32

Methods

| Improve this Doc View Source

WithCleanable(Boolean)

Declaration
public Decal WithCleanable(bool cleanable)
Parameters
Type Name Description
System.Boolean cleanable
Returns
Type Description
Decal
| Improve this Doc View Source

WithColor(Nullable<Color>)

Declaration
public Decal WithColor(Color? color)
Parameters
Type Name Description
System.Nullable<Color> color
Returns
Type Description
Decal
| Improve this Doc View Source

WithCoordinates(Vector2)

Declaration
public Decal WithCoordinates(Vector2 coordinates)
Parameters
Type Name Description
Vector2 coordinates
Returns
Type Description
Decal
| Improve this Doc View Source

WithId(String)

Declaration
public Decal WithId(string id)
Parameters
Type Name Description
System.String id
Returns
Type Description
Decal
| Improve this Doc View Source

WithRotation(Angle)

Declaration
public Decal WithRotation(Angle angle)
Parameters
Type Name Description
Angle angle
Returns
Type Description
Decal
| Improve this Doc View Source

WithZIndex(Int32)

Declaration
public Decal WithZIndex(int zIndex)
Parameters
Type Name Description
System.Int32 zIndex
Returns
Type Description
Decal
  • Improve this Doc
  • View Source
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾