Class Decal
Inheritance
System.Object
Decal
Assembly: Content.Shared.dll
Syntax
public sealed class Decal : object
Constructors
|
Improve this Doc
View Source
Decal()
Declaration
|
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
Field Value
|
Improve this Doc
View Source
Cleanable
Declaration
Field Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
Color
Declaration
Field Value
Type |
Description |
System.Nullable<Color> |
|
|
Improve this Doc
View Source
Coordinates
Declaration
public Vector2 Coordinates
Field Value
|
Improve this Doc
View Source
Id
Declaration
Field Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
ZIndex
Declaration
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
|
Improve this Doc
View Source
WithColor(Nullable<Color>)
Declaration
public Decal WithColor(Color? color)
Parameters
Type |
Name |
Description |
System.Nullable<Color> |
color |
|
Returns
|
Improve this Doc
View Source
WithCoordinates(Vector2)
Declaration
public Decal WithCoordinates(Vector2 coordinates)
Parameters
Type |
Name |
Description |
Vector2 |
coordinates |
|
Returns
|
Improve this Doc
View Source
WithId(String)
Declaration
public Decal WithId(string id)
Parameters
Type |
Name |
Description |
System.String |
id |
|
Returns
|
Improve this Doc
View Source
WithRotation(Angle)
Declaration
public Decal WithRotation(Angle angle)
Parameters
Type |
Name |
Description |
Angle |
angle |
|
Returns
|
Improve this Doc
View Source
WithZIndex(Int32)
Declaration
public Decal WithZIndex(int zIndex)
Parameters
Type |
Name |
Description |
System.Int32 |
zIndex |
|
Returns