Geometry — Aspose.3D FOSS TypeScript API Reference
Geometry — Geometry class in the Aspose.3D FOSS TypeScript API.. Inherits from: Entity.
Package: aspose.threed
Methods
| Method | Returns | Description |
|---|---|---|
visible() | boolean | |
castShadows() | boolean | |
receiveShadows() | boolean | |
vertexElements() | VertexElement[] | |
controlPoints() | Vector4[] | |
addControlPoint(point: Vector4) | void | |
| `createElement(elementType: VertexElementType, mappingMode: MappingMode | null, referenceMode: ReferenceMode | null)` |
| `createElementUV(uvMapping: TextureMapping, mappingMode: MappingMode | null, referenceMode: ReferenceMode | null)` |
addElement(element: VertexElement) | void | |
getElement(elementType: VertexElementType) | `VertexElement | null` |
getVertexElementOfUV(textureMapping: TextureMapping) | `VertexElementUV | null` |
| `removeProperty(_prop: Property | string)` | boolean |
getProperty(_property: string) | any | |
setProperty(_property: string, _value: any) | void | |
findProperty(_property: string) | `Property | null` |
getBoundingBox() | any | |
getEntityRendererKey() | any |