GeOnDT GeOnDT for JS

Class: U3dObject

U3dObject

~extends UEventDispatcher
상위 객체 인터페이스 랩핑

new U3dObject(opt)

Name Type Default Description
opt U3dObject~U3dObjectCO {} optional

Methods

dispatch(type)

객체의 type 으로 등록된 리스너로 이벤트를 발생 시킵니다.

Name Type Description
type string

getName()string

객체의 이름을 리턴합니다.

Returns:
Type Description
string 객체의 이름

has(type, listener)boolean

객체에 type으로 등록된 listener가 있는지의 여부를 리턴합니다.

Name Type Description
type string

이벤트 타입

listener EventCallBack

리스너 함수 또는 리스너 이름

Returns:
Type Description
boolean listener 등록 여부

Type Definitions

U3dObjectCOobject

~extends UEventDispatcher~UEventDispatcherCO
U3dObject 생성자 옵션 입니다.

Properties:
Name Type Argument Description
name string <optional>

객체 이름