SceneObject

개요

SceneObject은(는) Aspose.3D FOSS for TypeScript에 포함된 클래스입니다. 상속 대상: A3DObject.

SceneObject.scene은 객체가 씬에 연결되지 않은 경우 null을, 그렇지 않으면 상위 Scene 참조를 보유합니다.

이 클래스는 TypeScript 프로그램에서 SceneObject 객체용 메서드 6개를 선언합니다. 사용 가능한 메서드: constructor, findProperty, getProperty, removeProperty, setProperty, toString. 공개 멤버는 Aspose.3D FOSS for TypeScript 패키지를 설치한 후 모든 TypeScript 애플리케이션에서 접근할 수 있습니다. 속성: name, properties, scene.

속성

이름유형액세스설명
scene`Scenenull`읽기/쓰기
namestring읽기/쓰기이름을 가져옵니다.
propertiesPropertyCollection읽기속성을 가져옵니다.

메서드

시그니처설명
constructor(name: string)이 SceneObject 인스턴스에서 constructor(name)를 호출합니다.
findProperty(propertyName: string) → `Propertynull`
getProperty(property: string) → any이 SceneObject 인스턴스에서 getProperty(property)를 호출합니다.
setProperty(property: string, value: any)속성 값을 설정합니다.
`removeProperty(property: stringProperty)→boolean`
toString() → string이 SceneObject 인스턴스에서 toString을 호출합니다.

참조

 한국어