Sphere
개요
Sphere은 Aspose.3D FOSS에서 Java용 클래스이며, 상속 대상: Geometry, IMeshConvertible.
매개변수화된 구.
이 클래스는 Java 프로그램에서 Sphere 객체를 다루기 위한 60개의 메서드를 제공합니다. 사용 가능한 메서드에는 A3DObject, Entity, Geometry, SceneObject, Sphere, addDeformer, addElement, createElement, createElementUV, findProperty, getBoundingBox, getCastShadows 및 추가 39개의 메서드가 포함됩니다. 모든 공개 멤버는 Aspose.3D FOSS for Java 패키지를 설치한 후 Java 애플리케이션이면 모두 접근할 수 있습니다. 속성: boundingBox, castShadows, controlPoints, deformers, deformers2, entityRendererKey 및 추가 16개.
속성
| 이름 | 유형 | 액세스 | 설명 |
|---|---|---|---|
widthSegments | int | 읽기 | 너비 세그먼트를 가져오거나 설정합니다. |
heightSegments | int | 읽기 | 높이 세그먼트를 가져오거나 설정합니다. |
phiStart | double | 읽기 | phi 시작을 가져오거나 설정합니다. |
phiLength | double | 읽기 | phi의 길이를 가져오거나 설정합니다. |
thetaStart | double | 읽기 | theta 시작을 가져오거나 설정합니다. |
thetaLength | double | 읽기 | theta의 길이를 가져오거나 설정합니다. |
radius | double | 읽기 | 구의 반지름을 가져오거나 설정합니다. |
visible | boolean | 읽기 | 보이는 것을 가져옵니다. |
castShadows | boolean | 읽기 | 그림자 캐스팅을 가져옵니다. |
receiveShadows | boolean | 읽기 | 받은 그림자를 가져옵니다. |
controlPoints | java.util.List<Vector4> | 읽기 | 제어점을 가져옵니다. |
vertexElements | java.util.List<VertexElement> | 읽기 | 정점 요소를 가져옵니다. |
deformers | java.util.List<Deformer> | 읽기 | 변형기를 가져옵니다. |
deformers2 | java.util.Collection<T> | 읽기 | deformers2를 가져옵니다. |
parentNode | Node | 읽기 | 부모 노드를 가져옵니다. |
parentNodes | ArrayList<Node> | 읽기 | 부모 노드를 가져옵니다. |
excluded | boolean | 읽기 | 제외된 항목을 가져옵니다. |
boundingBox | BoundingBox | 읽기 | 경계 상자를 가져옵니다. |
entityRendererKey | EntityRendererKey | 읽기 | 엔터티 렌더러 키를 가져옵니다. |
scene | Scene | 읽기 | 장면을 가져옵니다. |
name | String | 읽기 | 이름을 가져옵니다. |
properties | PropertyCollection | 읽기 | 속성을 가져옵니다. |
메서드
| 시그니처 | 설명 |
|---|---|
Sphere() | 기본 반지름 1로 Sphere의 새 인스턴스를 초기화합니다. |
Sphere(radius: double) | 지정된 반지름으로 Sphere 클래스의 새 인스턴스를 초기화합니다. |
Sphere(radius: double, widthSegments: int, heightSegments: int) | Sphere 클래스의 새 인스턴스를 지정된 반경, 가로 세그먼트 및 세로 세그먼트와 함께 초기화합니다. |
Sphere(name: String, radius: double, widthSegments: int, heightSegments: int, phiStart: double, phiLength: double, thetaStart: double, thetaLength: double) | Sphere 클래스의 새 인스턴스를 초기화합니다. |
getWidthSegments() → int | 너비 세그먼트를 가져오거나 설정합니다. |
setWidthSegments(value: int) | 너비 세그먼트 값을 설정합니다. |
getHeightSegments() → int | 높이 세그먼트를 가져오거나 설정합니다. |
setHeightSegments(value: int) | 높이 세그먼트 값을 설정합니다. |
getPhiStart() → double | phi 시작을 가져오거나 설정합니다. |
setPhiStart(value: double) | phi 시작 값을 설정합니다. |
getPhiLength() → double | phi의 길이를 가져오거나 설정합니다. |
setPhiLength(value: double) | phi 길이 값을 설정합니다. |
getThetaStart() → double | theta 시작값을 가져오거나 설정합니다. |
setThetaStart(value: double) | theta 시작 값을 설정합니다. |
getThetaLength() → double | theta의 길이를 가져오거나 설정합니다. |
setThetaLength(value: double) | theta 길이 값을 설정합니다. |
getRadius() → double | 구의 반경을 가져오거나 설정합니다. |
setRadius(value: double) | 반지름 값을 설정합니다. |
toMesh() → Mesh | 현재 객체를 메시로 변환합니다. |
Geometry() | 이 Sphere 인스턴스에서 Geometry를 호출합니다. |
Geometry(name: String) | 이 Sphere 인스턴스에서 Geometry(name)를 호출합니다. |
getVisible() → boolean | 보이는 것을 반환합니다. |
setVisible(value: boolean) | 가시 값을 설정합니다. |
getCastShadows() → boolean | 캐스팅된 그림자를 반환합니다. |
setCastShadows(value: boolean) | 그림자 캐스팅 값을 설정합니다. |
getReceiveShadows() → boolean | 수신된 그림자를 반환합니다. |
setReceiveShadows(value: boolean) | Sphere 클래스의 새 인스턴스를 초기화합니다. |
getControlPoints() → java.util.List<Vector4> | 제어점을 반환합니다. |
getVertexElements() → java.util.List<VertexElement> | 정점 요소를 반환합니다. |
getDeformers() → java.util.List<Deformer> | 디포머를 반환합니다. |
getElement(type: VertexElementType) → VertexElement | 이 Sphere 인스턴스에서 getElement(type)를 호출합니다. |
createElement(type: VertexElementType) → VertexElement | 높이 세그먼트를 가져오거나 설정합니다. |
createElement(type: VertexElementType, mappingMode: MappingMode, referenceMode: ReferenceMode) → VertexElement | 이 Sphere 인스턴스에서 createElement(type, mappingMode, referenceMode)를 호출합니다. |
addElement(element: VertexElement) | theta 시작을 가져오거나 설정합니다. |
addDeformer(deformer: Deformer) | 이 지오메트리에 디포머를 추가하고 소유자 레퍼런스를 설정합니다. |
getVertexElementOfUV(mapping: TextureMapping) → VertexElementUV | 이 Sphere 인스턴스에서 getVertexElementOfUV(mapping)를 호출합니다. |
createElementUV(mapping: TextureMapping) → VertexElementUV | 이 Sphere 인스턴스에서 createElementUV(mapping)를 호출합니다. |
createElementUV(mapping: TextureMapping, mappingMode: MappingMode, referenceMode: ReferenceMode) → VertexElementUV | 이 Sphere 인스턴스에서 createElementUV(mapping, mappingMode, referenceMode)를 호출합니다. |
getDeformers2() → java.util.Collection<T> | deformers2를 반환합니다. |
Entity(name: String) | 이 Sphere 인스턴스에서 Entity(name)를 호출합니다. |
getParentNode() → Node | 기본 반경 1로 Sphere의 새 인스턴스를 초기화합니다. |
setParentNode(value: Node) | 부모 노드 값을 설정합니다. |
getParentNodes() → ArrayList<Node> | 부모 노드를 반환합니다. |
getExcluded() → boolean | 제외된 것을 반환합니다. |
setExcluded(value: boolean) | 제외된 값을 설정합니다. |
getBoundingBox() → BoundingBox | 경계 상자를 반환합니다. |
getEntityRendererKey() → EntityRendererKey | 엔터티 렌더러 키를 반환합니다. |
SceneObject() | 파라미터화된 구. |
SceneObject(name: String) | 이 Sphere 인스턴스에서 SceneObject(name)를 호출합니다. |
getScene() → Scene | 씬을 반환합니다. |
A3DObject() | 이 Sphere 인스턴스에서 A3DObject를 호출합니다. |
A3DObject(name: String) | 이 Sphere 인스턴스에서 A3DObject(name)를 호출합니다. |
getName() → String | 이름을 반환합니다. |
setName(name: String) | 이름 값을 설정합니다. |
getProperties() → PropertyCollection | 지정된 반경으로 Sphere 클래스의 새 인스턴스를 초기화합니다. |
findProperty(name: String) → Property | 이 Sphere 인스턴스에서 findProperty(name)를 호출합니다. |
getProperty(name: String) → Object | 이 Sphere 인스턴스에서 getProperty(name)를 호출합니다. |
setProperty(name: String, value: Object) | 속성 값을 설정합니다. |
removeProperty(name: String) → boolean | 이 Sphere 인스턴스에서 removeProperty(name)를 호출합니다. |
removeProperty(property: Property) → boolean | 이 Sphere 인스턴스에서 removeProperty(property)를 호출합니다. |