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개.

속성

이름유형액세스설명
bottomAreaVector2읽기바닥 캡의 면적.
topAreaVector2읽기상단 캡의 면적.
bottomOffsetVector3읽기하단 정점에 대한 오프셋.
heightdouble읽기피라미드의 높이.
castShadowsboolean읽기이 기하학이 그림자를 드리울 수 있는지 여부를 가져옵니다.
receiveShadowsboolean읽기이 기하학이 그림자를 받을 수 있는지 여부를 가져옵니다.
parentNodeNode읽기부모 노드를 가져옵니다.
parentNodesArrayList<Node>읽기부모 노드를 가져옵니다.
excludedboolean읽기제외된 값을 가져옵니다.
boundingBoxBoundingBox읽기경계 상자를 가져옵니다.
entityRendererKeyEntityRendererKey읽기엔티티 렌더러 키를 가져옵니다.
sceneScene읽기장면을 가져옵니다.
nameString읽기이름을 가져옵니다.
propertiesPropertyCollection읽기속성을 가져옵니다.

메서드

시그니처설명
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() → MeshFOSS 에디션에서는 구현되지 않았으며 — 런타임에 예외를 발생시�니다. 이 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)를 호출합니다.

참조

 한국어