Interface ITextLabelsComponent.IManagedInterface
Represents the managed interface implemented by its unmanaged counterpart.
public interface ITextLabelsComponent.IManagedInterface : IUnmanagedInterface
- Inherited Members
Methods
Create(string, Colour, Vector3, float, int, bool)
Creates a new text label with the specified properties.
ITextLabel Create(string text, Colour colour, Vector3 pos, float drawDist, int vw, bool los)
Parameters
textstringThe text to display in the label.
colourColourThe color of the text label.
posVector3The position of the text label.
drawDistfloatThe draw distance for the text label.
vwintThe virtual world in which the text label is visible.
losboolA value indicating whether the text label requires line of sight to be visible.
Returns
- ITextLabel
The created text label.
Create(string, Colour, Vector3, float, int, bool, IPlayer)
Creates a new text label attached to a player with the specified properties.
ITextLabel Create(string text, Colour colour, Vector3 pos, float drawDist, int vw, bool los, IPlayer attach)
Parameters
textstringThe text to display in the label.
colourColourThe color of the text label.
posVector3The position of the text label.
drawDistfloatThe draw distance for the text label.
vwintThe virtual world in which the text label is visible.
losboolA value indicating whether the text label requires line of sight to be visible.
attachIPlayerThe player to which the text label is attached.
Returns
- ITextLabel
The created text label.
Create(string, Colour, Vector3, float, int, bool, IVehicle)
Creates a new text label attached to a vehicle with the specified properties.
ITextLabel Create(string text, Colour colour, Vector3 pos, float drawDist, int vw, bool los, IVehicle attach)
Parameters
textstringThe text to display in the label.
colourColourThe color of the text label.
posVector3The position of the text label.
drawDistfloatThe draw distance for the text label.
vwintThe virtual world in which the text label is visible.
losboolA value indicating whether the text label requires line of sight to be visible.
attachIVehicleThe vehicle to which the text label is attached.
Returns
- ITextLabel
The created text label.