UNPKG

mylingo3d

Version:

Lingo3D is a React/Vue 3d game development framework that ships with a complete visual editor

25 lines (21 loc) 648 B
import { AmbientLight as ThreeAmbientLight } from "three" import LightBase from "../core/LightBase" import IAmbientLight, { ambientLightDefaults, ambientLightSchema } from "../../interface/IAmbientLight" export default class AmbientLight extends LightBase<typeof ThreeAmbientLight> implements IAmbientLight { public static componentName = "ambientLight" public static defaults = ambientLightDefaults public static schema = ambientLightSchema public constructor() { super(ThreeAmbientLight) } public override get castShadow() { return false } public override set castShadow(_) {} }