Class Marker
Class that represents different types of markers
Inherited Members
Namespace: Slipe.Server.Markers
Assembly: SlipeServer.dll
Syntax
[DefaultElementClass(ElementType.Marker)]
public class Marker : SharedMarker
Constructors
| Improve this Doc View SourceMarker(Vector3, MarkerType)
Creates a marker from just a position and type
Declaration
public Marker(Vector3 position, MarkerType type)
Parameters
Type | Name | Description |
---|---|---|
Vector3 | position | |
MarkerType | type |
Marker(Vector3, MarkerType, Color, Single, Element)
Create a marker form all the createMarker parameters
Declaration
public Marker(Vector3 position, MarkerType type, Color color, float size = 4F, Element visibleTo = null)
Parameters
Type | Name | Description |
---|---|---|
Vector3 | position | |
MarkerType | type | |
Color | color | |
Single | size | |
Element | visibleTo |