DistanceDisplayCondition
external class DistanceDisplayCondition(var near: Double = definedExternally, var far: Double = definedExternally)(source)
Determines visibility based on the distance to the camera.
// Make a billboard that is only visible when the distance to the camera is between 10 and 20 meters.
billboard.distanceDisplayCondition = new DistanceDisplayCondition(10.0, 20.0);
Content copied to clipboard