Interface IPlayerTextLabelData.IManagedInterface
Represents the managed interface implemented by its unmanaged counterpart.
public interface IPlayerTextLabelData.IManagedInterface : IUnmanagedInterface
- Inherited Members
Methods
AsPool()
Gets the pool interface for managing per-player text labels.
IPool<IPlayerTextLabel> AsPool()
Returns
- IPool<IPlayerTextLabel>
A pool interface for per-player text labels.
Create(string, Colour, Vector3, float, bool)
Creates a new per-player text label.
IPlayerTextLabel Create(string text, Colour colour, Vector3 pos, float drawDist, bool los)
Parameters
textstringThe text to display on the label.
colourColourThe colour of the text label.
posVector3The position where the text label will be created.
drawDistfloatThe draw distance of the text label.
losboolWhether line-of-sight testing is enabled.
Returns
- IPlayerTextLabel
The created per-player text label, or
nullif creation failed.
Create(string, Colour, Vector3, float, bool, IPlayer)
Creates a new per-player text label attached to a player.
IPlayerTextLabel Create(string text, Colour colour, Vector3 pos, float drawDist, bool los, IPlayer attach)
Parameters
textstringThe text to display on the label.
colourColourThe colour of the text label.
posVector3The position offset from the player.
drawDistfloatThe draw distance of the text label.
losboolWhether line-of-sight testing is enabled.
attachIPlayerThe player to attach the text label to.
Returns
- IPlayerTextLabel
The created per-player text label, or
nullif creation failed.
Create(string, Colour, Vector3, float, bool, IVehicle)
Creates a new per-player text label attached to a vehicle.
IPlayerTextLabel Create(string text, Colour colour, Vector3 pos, float drawDist, bool los, IVehicle attach)
Parameters
textstringThe text to display on the label.
colourColourThe colour of the text label.
posVector3The position offset from the vehicle.
drawDistfloatThe draw distance of the text label.
losboolWhether line-of-sight testing is enabled.
attachIVehicleThe vehicle to attach the text label to.
Returns
- IPlayerTextLabel
The created per-player text label, or
nullif creation failed.