polygonjs-engine
Version:
node-based webgl 3D engine https://polygonjs.com
32 lines (29 loc) • 700 B
text/typescript
// interface JsVariableConfigOptions {
// // asset refererences
// default_from_attribute?: boolean;
// default?: string;
// if?: string;
// prefix?: string;
// suffix?: string;
// }
export class JsVariableConfig {
constructor(private _name: string) {} //, private _options: JsVariableConfigOptions = {}) {}
name() {
return this._name;
}
// default_from_attribute() {
// return this._options['default_from_attribute'] || false;
// }
// default() {
// return this._options['default'];
// }
// if_condition() {
// return this._options['if'];
// }
// prefix() {
// return this._options['prefix'] || '';
// }
// suffix() {
// return this._options['suffix'] || '';
// }
}