Class SpraySurface
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
HasDrawingBeenFinalized
Whether the drawing has ever been marked by the player.
public bool HasDrawingBeenFinalized { get; }
Property Value
PaintedPixelCount
The number of painted pixels on this surface.
public int PaintedPixelCount { get; }
Property Value
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
Events
OnDrawingChanged
Event fired when the drawing on this surface changes.
public event Action OnDrawingChanged