Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
create(scene: Scene): BabylonCylinderPanel {
this.cylinderPanel = new BabylonCylinderPanel()
if (this.props.margin) {
// console.log("setting cylinder panel margin")
this.cylinderPanel.margin = this.props.margin
}
if (this.props.orientation) {
this.cylinderPanel.orientation = this.props.orientation
}
if (this.props.radius) {
this.cylinderPanel.radius = this.props.radius
}
return this.cylinderPanel
}