Table of Contents

Class SpraySurface

Namespace
S1API.Graffiti
Assembly
S1API.dll

Represents a world spray surface that can be spray painted with graffiti.

public sealed class SpraySurface
Inheritance
SpraySurface
Inherited Members
Extension Methods

Properties

DrawingOutputTexture

The output texture for the drawing on this surface.

public Texture DrawingOutputTexture { get; }

Property Value

Texture

GUID

The globally unique identifier for this spray surface.

public Guid GUID { get; }

Property Value

Guid

HasDrawingBeenFinalized

Whether the drawing has ever been marked by the player.

public bool HasDrawingBeenFinalized { get; }

Property Value

bool

PaintedPixelCount

The number of painted pixels on this surface.

public int PaintedPixelCount { get; }

Property Value

int

Position

The world position of the bottom-left reference point of this spray surface.

public Vector3 Position { get; }

Property Value

Vector3

StrokeCount

The number of strokes drawn on this surface.

public int StrokeCount { get; }

Property Value

int

Events

OnDrawingChanged

Event fired when the drawing on this surface changes.

public event Action OnDrawingChanged

Event Type

Action