Pyramid
개요
Pyramid은 Aspose.3D FOSS for Java의 클래스입니다. 상속 대상: Primitive.
파라미터화된 피라미드.
이 클래스는 Java 프로그램에서 Pyramid 객체를 다루기 위한 38개의 메서드를 제공합니다. 사용 가능한 메서드에는 A3DObject, Entity, Primitive, Pyramid, SceneObject, findProperty, getBottomArea, getBottomOffset, getBoundingBox, getCastShadows, getEntityRendererKey, getExcluded 및 추가 21개의 메서드가 포함됩니다. Aspose.3D FOSS for Java 패키지를 설치한 후 모든 Java 애플리케이션에서 공개 멤버에 접근할 수 있습니다. 속성: bottomArea, bottomOffset, boundingBox, castShadows, entityRendererKey, excluded 및 추가 8개.
속성
| 이름 | 유형 | 액세스 | 설명 |
|---|---|---|---|
bottomArea | Vector2 | 읽기 | 바닥 캡의 면적. |
topArea | Vector2 | 읽기 | 상단 캡의 면적. |
bottomOffset | Vector3 | 읽기 | 하단 정점에 대한 오프셋. |
height | double | 읽기 | 피라미드의 높이. |
castShadows | boolean | 읽기 | 이 기하학이 그림자를 드리울 수 있는지 여부를 가져옵니다. |
receiveShadows | boolean | 읽기 | 이 기하학이 그림자를 받을 수 있는지 여부를 가져옵니다. |
parentNode | Node | 읽기 | 부모 노드를 가져옵니다. |
parentNodes | ArrayList<Node> | 읽기 | 부모 노드를 가져옵니다. |
excluded | boolean | 읽기 | 제외된 값을 가져옵니다. |
boundingBox | BoundingBox | 읽기 | 경계 상자를 가져옵니다. |
entityRendererKey | EntityRendererKey | 읽기 | 엔티티 렌더러 키를 가져옵니다. |
scene | Scene | 읽기 | 장면을 가져옵니다. |
name | String | 읽기 | 이름을 가져옵니다. |
properties | PropertyCollection | 읽기 | 속성을 가져옵니다. |
메서드
| 시그니처 | 설명 |
|---|---|
getBottomArea() → Vector2 | 하단 캡의 면적. |
setBottomArea(value: Vector2) | 하단 영역 값을 설정합니다. |
getTopArea() → Vector2 | 상단 캡의 면적. |
setTopArea(value: Vector2) | 상단 영역 값을 설정합니다. |
getBottomOffset() → Vector3 | 하단 정점의 오프셋. |
setBottomOffset(value: Vector3) | 아래쪽 오프셋 값을 설정합니다. |
getHeight() → double | 피라미드의 높이. |
setHeight(value: double) | 높이 값을 설정합니다. |
Pyramid() | 기본 바닥 면적(10, 10)과 기본 높이(5)를 사용하여 새로운 피라미드 인스턴스를 생성합니다. |
Pyramid(xbottom: double, ybottom: double, xtop: double, ytop: double, height: double) | 지정된 바닥 면적, 꼭대기 면적 및 높이를 사용하여 새로운 피라미드 인스턴스를 생성합니다. |
toMesh() → Mesh | FOSS 에디션에서는 구현되지 않았으며 — 런타임에 예외를 발생시�니다. 이 Pyramid 인스턴스에서 toMesh를 호출합니다. |
getCastShadows() → boolean | 이 기하학이 그림자를 드리울 수 있는지 여부를 가져옵니다. |
setCastShadows(value: boolean) | 그림자 캐스팅 값을 설정합니다. |
getReceiveShadows() → boolean | 이 기하학이 그림자를 받을 수 있는지 여부를 가져옵니다. |
setReceiveShadows(value: boolean) | receive shadows 값을 설정합니다. |
Primitive() | Primitive 클래스의 새 인스턴스를 초기화합니다. |
Primitive(name: String) | Primitive 클래스의 새 인스턴스를 초기화합니다. |
Entity(name: String) | 이 Pyramid 인스턴스에서 Entity(name)를 호출합니다. |
getParentNode() → Node | 부모 노드를 반환합니다. |
setParentNode(value: Node) | 부모 노드 값을 설정합니다. |
getParentNodes() → ArrayList<Node> | 상단 캡의 면적. |
getExcluded() → boolean | 제외된 것을 반환합니다. |
setExcluded(value: boolean) | 제외된 값을 설정합니다. |
getBoundingBox() → BoundingBox | 바운딩 박스를 반환합니다. |
getEntityRendererKey() → EntityRendererKey | 엔터티 렌더러 키를 반환합니다. |
SceneObject() | 파라미터화된 피라미드. |
SceneObject(name: String) | 이 Pyramid 인스턴스에서 SceneObject(name)를 호출합니다. |
getScene() → Scene | 씬을 반환합니다. |
A3DObject() | 이 Pyramid 인스턴스에서 A3DObject를 호출합니다. |
A3DObject(name: String) | 이 Pyramid 인스턴스에서 A3DObject(name)를 호출합니다. |
getName() → String | 바닥 캡의 면적. |
setName(name: String) | 이름 값을 설정합니다. |
getProperties() → PropertyCollection | 속성을 반환합니다. |
findProperty(name: String) → Property | 이 Pyramid 인스턴스에서 findProperty(name)를 호출합니다. |
getProperty(name: String) → Object | 이 Pyramid 인스턴스에서 getProperty(name)를 호출합니다. |
setProperty(name: String, value: Object) | 하단 정점에 대한 오프셋. |
removeProperty(name: String) → boolean | 이 Pyramid 인스턴스에서 removeProperty(name)를 호출합니다. |
removeProperty(property: Property) → boolean | 이 Pyramid 인스턴스에서 removeProperty(property)를 호출합니다. |