Skip to content

@temporary-escape/mod-sdk / AssetModel

Class: AssetModel ​

Defined in: assets/asset-model.ts:7

Extends ​

Constructors ​

Constructor ​

ts
new AssetModel(handle: number): AssetModel;

Defined in: assets/asset-model.ts:8

Parameters ​

ParameterType
handlenumber

Returns ​

AssetModel

Overrides ​

Asset.constructor

Properties ​

PropertyTypeInherited fromDefined in
handlenumberAsset.handleassets/asset.ts:8

Accessors ​

bbRadius ​

Get Signature ​

ts
get bbRadius(): number;

Defined in: assets/asset-model.ts:12

Returns ​

number


name ​

Get Signature ​

ts
get name(): string;

Defined in: assets/asset.ts:14

Returns ​

string

Inherited from ​

Asset.name

Methods ​

eq() ​

ts
eq(other: Asset): bool;

Defined in: assets/asset.ts:24

Returns true if this asset is equal to the other asset.

Parameters ​

ParameterTypeDescription
otherAssetThe other asset to compare

Returns ​

bool

Inherited from ​

Asset.eq


ne() ​

ts
ne(other: Asset): bool;

Defined in: assets/asset.ts:32

Returns true if this asset is not equal to the other asset.

Parameters ​

ParameterTypeDescription
otherAssetThe other asset to compare

Returns ​

bool

Inherited from ​

Asset.ne