Skip to content
On this page

AthenaShared.interfaces.iObject.IObject ​

shared/interfaces/iObject.IObject

Used to pass object information from server to client.

Interface

IObject

Properties ​

dimension ​

• Optional dimension: number

Will show across all dimensions.

Defined in ​

shared/interfaces/iObject.ts:60


maxDistance ​

• Optional maxDistance: number

The max distance this object should render at.

Defined in ​

shared/interfaces/iObject.ts:53


model ​

• model: string

The model name this object.

Defined in ​

shared/interfaces/iObject.ts:39


noCollision ​

• Optional noCollision: boolean

Should this object have no collision?

Defined in ​

shared/interfaces/iObject.ts:67


pos ​

• pos: IVector3

Position of the Object in a 3D space.

Defined in ​

shared/interfaces/iObject.ts:32


rot ​

• Optional rot: IVector3

The rotation of this object.

Defined in ​

shared/interfaces/iObject.ts:46


subType ​

• Optional subType: string

Use this parameter to help you identify what this item does on client-side.

Useful for wheel menu based functionality.

Defined in ​

shared/interfaces/iObject.ts:25


uid ​

• Optional uid: string

A unique identifier for this object.

Defined in ​

shared/interfaces/iObject.ts:15

Created by Stuyk | Est. 2020