コード例 #1
0
ファイル: Surface.cpp プロジェクト: wibus/ExperimentalTheatre
    void PhysicalSurface::setOuterMaterial(const std::shared_ptr<Material>& mat)
    {
        swapChild(_outerMat, mat);
        _outerMat = mat;

        stampCurrentUpdate();
    }
コード例 #2
0
    void StageSet::setBackdrop(const std::shared_ptr<Backdrop>& backdrop)
    {
        swapChild(_backdrop, backdrop);
        _backdrop = backdrop;

        stampCurrentUpdate();
    }
コード例 #3
0
ファイル: Surface.cpp プロジェクト: wibus/ExperimentalTheatre
    void PhysicalSurface::setCoating(const std::shared_ptr<Coating>& coating)
    {
        swapChild(_coating, coating);
        _coating = coating;

        stampCurrentUpdate();
    }
コード例 #4
0
    void StageSet::setAmbientMaterial(const std::shared_ptr<Material>& ambientMaterial)
    {
        swapChild(_ambientMaterial, ambientMaterial);
        _ambientMaterial = ambientMaterial;

        stampCurrentUpdate();
    }