跳到主要内容
版本:v10.0

M3D / M3D / Assets / VedioSource

Class: VedioSource

M3D.Assets.VedioSource

Memberof

M3D.Assets

Description

视频资源类

Author

ZYC

Date

2022-5-20

Copyright

All Rights Reserved. Copyright (C) 2022 HOTEAMSOFT, Ltd

Hierarchy

Table of contents

Constructors

Methods

Constructors

constructor

new VedioSource(): VedioSource

Returns

VedioSource

Inherited from

Resource.constructor

Methods

getBlobPath

getBlobPath(): string

Returns

string

Description

获取资源路径

Inherited from

Resource.getBlobPath


getFilePath

getFilePath(): string

Returns

string

Description

获取资源路径

Inherited from

Resource.getFilePath


getType

getType(): ResourceType

Returns

ResourceType

Description

获取资源类型

Inherited from

Resource.getType


markDirty

markDirty(): void

Returns

void

Description

设置脏标记

Inherited from

Resource.markDirty


setBlobPath

setBlobPath(path): void

Parameters

NameTypeDescription
pathstring路径

Returns

void

Description

设置资源路径

Inherited from

Resource.setBlobPath


setFilePath

setFilePath(path): void

Parameters

NameTypeDescription
pathstring路径

Returns

void

Description

设置资源路径

Inherited from

Resource.setFilePath


setType

setType(type): void

Parameters

NameTypeDescription
typeResourceType资源类型

Returns

void

Description

设置资源类型

Inherited from

Resource.setType