import * as React from "react"; import { Observable, BackgroundMaterial, BaseTexture } from "babylonjs"; import { PropertyChangedEvent } from "../../../../propertyChangedEvent"; import { LineContainerComponent } from "../../../lineContainerComponent"; import { Color3LineComponent } from "../../../lines/color3LineComponent"; import { CheckBoxLineComponent } from "../../../lines/checkBoxLineComponent"; import { SliderLineComponent } from "../../../lines/sliderLineComponent"; import { CommonMaterialPropertyGridComponent } from "./commonMaterialPropertyGridComponent"; import { TextureLinkLineComponent } from "../../../lines/textureLinkLineComponent"; import { LockObject } from "../lockObject"; interface IBackgroundMaterialPropertyGridComponentProps { material: BackgroundMaterial, lockObject: LockObject, onSelectionChangedObservable?: Observable, onPropertyChangedObservable?: Observable } export class BackgroundMaterialPropertyGridComponent extends React.Component { constructor(props: IBackgroundMaterialPropertyGridComponentProps) { super(props); } renderTextures() { const material = this.props.material; const onDebugSelectionChangeObservable = new BABYLON.Observable(); return ( { material.reflectionTexture && } ) } render() { const material = this.props.material; return (
{this.renderTextures()}
); } }