Table of Contents

Struct ObjectAttachmentData

Namespace
SampSharp.OpenMp.Core.Api
Assembly
SampSharp.OpenMp.Core.dll

Represents the data required to attach an object or entity to another object or entity.

public readonly struct ObjectAttachmentData
Inherited Members

Fields

Id

Gets the identifier of the attached object or entity.

public readonly int Id

Field Value

int

Offset

Gets the offset of the attachment relative to its parent.

public readonly Vector3 Offset

Field Value

Vector3

Rotation

Gets the rotation of the attachment relative to its parent.

public readonly Vector3 Rotation

Field Value

Vector3

SyncRotation

Gets a value indicating whether the rotation of the attachment is synchronized.

public readonly byte SyncRotation

Field Value

byte

Type

Gets the type of attachment.

public readonly AttachmentType Type

Field Value

AttachmentType