Box
개요
Box은 Aspose.3D FOSS for Java에 포함된 클래스입니다. 상속: Primitive, IMeshConvertible.
Box 원시형.
이 클래스는 Java 프로그램에서 Box 객체를 다루기 위한 42개의 메서드를 제공합니다. 사용 가능한 메서드에는 A3DObject, Box, Entity, Primitive, SceneObject, findProperty, getBoundingBox, getCastShadows, getEntityRendererKey, getExcluded, getHeight, getHeightSegments 및 추가 25개의 메서드가 포함됩니다. 모든 공개 멤버는 Aspose.3D FOSS for Java 패키지를 설치한 후 모든 Java 애플리케이션에서 접근할 수 있습니다. 속성: boundingBox, castShadows, entityRendererKey, excluded, height, heightSegments 및 추가 10개.
속성
| 이름 | 유형 | 액세스 | 설명 |
|---|---|---|---|
lengthSegments | int | 읽기 | 길이 구간을 가져오거나 설정합니다. |
widthSegments | int | 읽기 | 폭 세그먼트를 가져오거나 설정합니다. |
heightSegments | int | 읽기 | 높이 세그먼트를 가져오거나 설정합니다. |
length | double | 읽기 | box의 z축에 정렬된 길이를 가져오거나 설정합니다. |
width | double | 읽기 | 가져오거나 설정합니다 width of box aligned in x-axis. |
height | double | 읽기 | y축에 정렬된 박스의 높이를 가져오거나 설정합니다. |
castShadows | boolean | 읽기 | 이 지오메트리가 그림자를 캐스팅할 수 있는지 여부를 가져옵니다. |
receiveShadows | boolean | 읽기 | 이 기하학이 그림자를 받을 수 있는지 여부를 가져옵니다. |
parentNode | Node | 읽기 | 부모 노드를 가져옵니다. |
parentNodes | ArrayList<Node> | 읽기 | 부모 노드를 가져옵니다. |
excluded | boolean | 읽기 | 제외된 항목을 가져옵니다. |
boundingBox | BoundingBox | 읽기 | 경계 상자를 가져옵니다. |
entityRendererKey | EntityRendererKey | 읽기 | 엔터티 렌더러 키를 가져옵니다. |
scene | Scene | 읽기 | 씬을 가져옵니다. |
name | String | 읽기 | 이름을 가져옵니다. |
properties | PropertyCollection | 읽기 | 속성을 가져옵니다. |
메서드
| 시그니처 | 설명 |
|---|---|
Box() | Box 클래스의 새 인스턴스를 초기화합니다. |
Box(length: double, width: double, height: double) | Box 클래스의 새 인스턴스를 초기화합니다. |
getLengthSegments() → int | 길이 세그먼트를 가져오거나 설정합니다. |
setLengthSegments(value: int) | 길이 세그먼트 값을 설정합니다. |
getWidthSegments() → int | 너비 세그먼트를 가져오거나 설정합니다. |
setWidthSegments(value: int) | 너비 세그먼트 값을 설정합니다. |
getHeightSegments() → int | 높이 세그먼트를 가져오거나 설정합니다. |
setHeightSegments(value: int) | 높이 세그먼트 값을 설정합니다. |
getLength() → double | 박스의 z축 방향 길이를 가져오거나 설정합니다. |
setLength(value: double) | 길이 값을 설정합니다. |
getWidth() → double | x축에 정렬된 박스의 너비를 가져오거나 설정합니다. |
setWidth(value: double) | 너비 값을 설정합니다. |
getHeight() → double | y축에 정렬된 상자의 높이를 가져오거나 설정합니다. |
setHeight(value: double) | 높이 값을 설정합니다. |
toMesh() → Mesh | 현재 객체를 메시로 변환합니다. |
getCastShadows() → boolean | 이 기하학이 그림자를 드리울 수 있는지 여부를 가져옵니다. |
setCastShadows(value: boolean) | Box 클래스의 새 인스턴스를 초기화합니다. |
getReceiveShadows() → boolean | 이 기하학이 그림자를 받을 수 있는지 여부를 가져옵니다. |
setReceiveShadows(value: boolean) | receive shadows 값을 설정합니다. |
Primitive() | Primitive 클래스의 새 인스턴스를 초기화합니다. |
Primitive(name: String) | Primitive 클래스의 새 인스턴스를 초기화합니다. |
Entity(name: String) | 이 Box 인스턴스에서 Entity(name)를 호출합니다. |
getParentNode() → Node | 부모 노드를 반환합니다. |
setParentNode(value: Node) | 부모 노드 값을 설정합니다. |
getParentNodes() → ArrayList<Node> | 부모 노드들을 반환합니다. |
getExcluded() → boolean | 제외된 항목을 반환합니다. |
setExcluded(value: boolean) | 제외된 값을 설정합니다. |
getBoundingBox() → BoundingBox | 경계 상자를 반환합니다. |
getEntityRendererKey() → EntityRendererKey | 엔티티 렌더러 키를 반환합니다. |
SceneObject() | Box 프리미티브. |
SceneObject(name: String) | 이 Box 인스턴스에서 SceneObject(name)을 호출합니다. |
getScene() → Scene | 씬을 반환합니다. |
A3DObject() | 이 Box 인스턴스에서 A3DObject를 호출합니다. |
A3DObject(name: String) | 이 Box 인스턴스에서 A3DObject(name)를 호출합니다. |
getName() → String | 이름을 반환합니다. |
setName(name: String) | 이름 값을 설정합니다. |
getProperties() → PropertyCollection | 속성을 반환합니다. |
findProperty(name: String) → Property | 이 Box 인스턴스에서 findProperty(name)를 호출합니다. |
getProperty(name: String) → Object | 이 Box 인스턴스에서 getProperty(name)를 호출합니다. |
setProperty(name: String, value: Object) | 속성 값을 설정합니다. |
removeProperty(name: String) → boolean | 이 Box 인스턴스에서 removeProperty(name)를 호출합니다. |
removeProperty(property: Property) → boolean | 너비 세그먼트를 가져오거나 설정합니다. |