yuanjiajia
3 years ago
11 changed files with 79 additions and 36 deletions
-
42examples/print.php
-
5src/scene/BaseCfg.php
-
20src/scene/Scene.php
-
4src/scene/materials/Disney.php
-
4src/scene/materials/Glossy.php
-
14src/scene/materials/MaterialsBase.php
-
4src/scene/materials/Metal.php
-
3src/scene/materials/Mix.php
-
4src/scene/materials/NullMaterial.php
-
4src/scene/materials/Roughmatte.php
-
7src/scene/objects/Objects.php
@ -1,39 +1,47 @@ |
|||
<?php |
|||
|
|||
namespace Blobt\Luxcore\scene; |
|||
use Blobt\Luxcore\scene\objects\Objects; |
|||
|
|||
class Scene extends BaseCfg |
|||
{ |
|||
|
|||
public static $conn; |
|||
|
|||
/** |
|||
* @var array 模型数组 |
|||
*/ |
|||
public $objects; |
|||
public $objects = []; |
|||
|
|||
/** |
|||
* @var array 材质数组 |
|||
*/ |
|||
public $materials; |
|||
public $materials = []; |
|||
|
|||
/** |
|||
* @var array 体积材质数组 |
|||
*/ |
|||
public $volumes; |
|||
public $volumes = []; |
|||
|
|||
/** |
|||
* @var array 贴图数组 |
|||
*/ |
|||
public $textures; |
|||
public $textures = []; |
|||
|
|||
/** |
|||
* @var array 灯光数组 |
|||
*/ |
|||
public $light; |
|||
public $light = []; |
|||
|
|||
/** |
|||
* @var array 相机数组 |
|||
*/ |
|||
public $camera; |
|||
public $camera = []; |
|||
|
|||
public function __construct() |
|||
{ |
|||
self::$conn = $this; |
|||
} |
|||
|
|||
} |
|||
|
|||
|
Write
Preview
Loading…
Cancel
Save
Reference in new issue