@babylonjs/core
Version:
Getting started? Play directly with the Babylon.js API using our [playground](https://playground.babylonjs.com/). It also contains a lot of samples to learn how to use it.
50 lines (49 loc) • 1.57 kB
TypeScript
/** This file must only contain pure code and pure imports */
import { type NodeGeometryConnectionPoint } from "../../nodeGeometryBlockConnectionPoint.js";
import { type NodeGeometryBuildState } from "../../nodeGeometryBuildState.js";
import { InstantiateBaseBlock } from "./instantiateBaseBlock.js";
/**
* Block used to clone geometry in a radial shape
*/
export declare class InstantiateRadialBlock extends InstantiateBaseBlock {
/**
* Create a new InstantiateRadialBlock
* @param name defines the block name
*/
constructor(name: string);
/**
* Gets the current class name
* @returns the class name
*/
getClassName(): string;
/**
* Gets the direction input component
*/
get radius(): NodeGeometryConnectionPoint;
/**
* Gets the direction input component
*/
get angleStart(): NodeGeometryConnectionPoint;
/**
* Gets the direction input component
*/
get angleEnd(): NodeGeometryConnectionPoint;
/**
* Gets the transform input component
*/
get transform(): NodeGeometryConnectionPoint;
/**
* Gets the rotation input component
*/
get rotation(): NodeGeometryConnectionPoint;
/**
* Gets the scaling input component
*/
get scaling(): NodeGeometryConnectionPoint;
protected _buildBlock(state: NodeGeometryBuildState): void;
}
/**
* Register side effects for instantiateRadialBlock.
* Safe to call multiple times; only the first call has an effect.
*/
export declare function RegisterInstantiateRadialBlock(): void;