Show / Hide Table of Contents

Class CollisionTube

Inheritance
object
Element
CollisionShape
CollisionTube
Inherited Members
CollisionShape.ElementType
CollisionShape.IsEnabled
CollisionShape.AutoCallEvent
CollisionShape.DimensionsMustMatch
CollisionShape.InteriorsMustMatch
CollisionShape.ElementsWithin
CollisionShape.IsWithin(Element, bool, bool)
CollisionShape.CheckElementWithin(Element)
CollisionShape.Destroy()
CollisionShape.ElementEntered
CollisionShape.ElementLeft
Element.Parent
Element.Children
Element.Associations
Element.AssociatedPlayers
Element.Id
Element.TimeContext
Element.Name
Element.position
Element.Position
Element.Right
Element.Up
Element.Forward
Element.rotation
Element.Rotation
Element.velocity
Element.Velocity
Element.turnVelocity
Element.TurnVelocity
Element.interior
Element.Interior
Element.dimension
Element.Dimension
Element.alpha
Element.Alpha
Element.areCollisionsEnabled
Element.AreCollisionsEnabled
Element.isCallPropagationEnabled
Element.IsCallPropagationEnabled
Element.isFrozen
Element.IsFrozen
Element.UpdateContext
Element.IsSync
Element.Subscribers
Element.ElementDataSubscriptions
Element.BroadcastableElementData
Element.Attachment
Element.AttachedElements
Element.IsDestroyed
Element.IsVisibleToEveryone
Element.AddSubscriber(Player)
Element.RemoveSubscriber(Player)
Element.GetAndIncrementTimeContext()
Element.CanUpdateSync(byte)
Element.RunWithContext(Action, ElementUpdateContext)
Element.RunWithContext(Func<Task>, ElementUpdateContext)
Element.RunAsSync(Action, bool)
Element.RunAsSync(Func<Task>, bool)
Element.RemoveFrom(MtaServer)
Element.AssociateWith(Player)
Element.RemoveFrom(Player)
Element.UpdateAssociatedPlayers()
Element.AddChild(Element)
Element.RemoveChild(Element)
Element.IsChildOf(Element)
Element.SetData(string, LuaValue, DataSyncType)
Element.GetData(string, bool)
Element.SubscribeToData(Player, string)
Element.UnsubscribeFromData(Player, string)
Element.UnsubscribeFromAllData(Player)
Element.IsPlayerSubscribedToData(Player, string)
Element.GetPlayersSubcribedToData(string)
Element.AttachTo(Element, Vector3?, Vector3?)
Element.DetachFrom(Element)
Element.CreateFor(IEnumerable<Player>)
Element.CreateFor(Player)
Element.DestroyFor(IEnumerable<Player>)
Element.DestroyFor(Player)
Element.PositionChanged
Element.RotationChanged
Element.VelocityChanged
Element.TurnVelocityChanged
Element.InteriorChanged
Element.DimensionChanged
Element.AlphaChanged
Element.NameChanged
Element.CallPropagationChanged
Element.CollisionEnabledChanged
Element.FrozenChanged
Element.IdChanged
Element.AssociatedWith
Element.RemovedFrom
Element.DataChanged
Element.Attached
Element.Detached
Element.AttachedOffsetChanged
Element.Destroyed
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: SlipeServer.Server.Elements.ColShapes
Assembly: SlipeServer.Server.dll
Syntax
public class CollisionTube : CollisionShape

Constructors

| Edit this page View Source

CollisionTube(Vector3, float, float)

Declaration
public CollisionTube(Vector3 position, float Radius, float Height)
Parameters
Type Name Description
Vector3 position
float Radius
float Height

Properties

| Edit this page View Source

Height

Declaration
public float Height { get; set; }
Property Value
Type Description
float
| Edit this page View Source

Radius

Declaration
public float Radius { get; set; }
Property Value
Type Description
float

Methods

| Edit this page View Source

AssociateWith(MtaServer)

Declaration
public CollisionTube AssociateWith(MtaServer server)
Parameters
Type Name Description
MtaServer server
Returns
Type Description
CollisionTube
| Edit this page View Source

IsWithin(Vector3, byte?, ushort?)

Declaration
public override bool IsWithin(Vector3 position, byte? interior = null, ushort? dimension = null)
Parameters
Type Name Description
Vector3 position
byte? interior
ushort? dimension
Returns
Type Description
bool
Overrides
CollisionShape.IsWithin(Vector3, byte?, ushort?)

Events

| Edit this page View Source

HeightChanged

Declaration
public event ElementChangedEventHandler<float>? HeightChanged
Event Type
Type Description
ElementChangedEventHandler<float>
| Edit this page View Source

RadiusChanged

Declaration
public event ElementChangedEventHandler<float>? RadiusChanged
Event Type
Type Description
ElementChangedEventHandler<float>

Extension Methods

CollisionShapePropertyRelayingExtensions.AddCollisionShapeRelayers(CollisionShape)
ElementPropertyRelayingExtensions.AddRelayers(Element)
ElementPropertyRelayingExtensions.RelayChange(Element, Packet)
  • Edit this page
  • View Source
In this article
Back to top Generated by DocFX