* @private * GeometryElement 类用于实现几何体元素,该类为抽象类。
| 14934 | * <code>GeometryElement</code> 类用于实现几何体元素,该类为抽象类。 |
| 14935 | */ |
| 14936 | class GeometryElement implements IDestroy { |
| 14937 | protected static _typeCounter: number; |
| 14938 | protected _destroyed: boolean; |
| 14939 | /** |
| 14940 | * 获取是否销毁。 |
| 14941 | * @return 是否销毁。 |
| 14942 | */ |
| 14943 | readonly destroyed: boolean; |
| 14944 | /** |
| 14945 | * 创建一个 <code>GeometryElement</code> 实例。 |
| 14946 | */ |
| 14947 | constructor(); |
| 14948 | /** |
| 14949 | * 获取几何体类型。 |
| 14950 | */ |
| 14951 | _getType(): number; |
| 14952 | /** |
| 14953 | * @private |
| 14954 | * @return 是否需要渲染。 |
| 14955 | */ |
| 14956 | _prepareRender(state: RenderContext3D): boolean; |
| 14957 | /** |
| 14958 | * @private |
| 14959 | */ |
| 14960 | _render(state: RenderContext3D): void; |
| 14961 | /** |
| 14962 | * 销毁。 |
| 14963 | */ |
| 14964 | destroy(): void; |
| 14965 | } |
| 14966 | } |
| 14967 | declare module laya.d3.component { |
| 14968 | import ISingletonElement = laya.resource.ISingletonElement; |
nothing calls this directly
no outgoing calls
no test coverage detected