コード例 #1
0
ファイル: GRMap3D.cs プロジェクト: moto2002/rongyaojt
 public GRMap3D(string id, GRWorld3D world)
 {
     this.m_conf                 = null;
     this.m_id                   = id;
     this.m_world                = world;
     this.m_mapContainer         = this.m_world.scene3d.createContainer3D();
     this.m_mapContainer.visible = false;
 }
コード例 #2
0
ファイル: GraphManager.cs プロジェクト: moto2002/rongyaojt
        public GRWorld3D getWorld3D(string id)
        {
            GRWorld3D result = null;
            bool      flag   = this.m_worlds.ContainsKey(id);

            if (flag)
            {
                result = this.m_worlds[id];
            }
            return(result);
        }
コード例 #3
0
ファイル: GRLightDir3D.cs プロジェクト: moto2002/rongyaojt
 public GRLightDir3D(string id, GRWorld3D world) : base(id, world)
 {
     this.m_light           = this.m_world.scene3d.createLightDir();
     this.m_lightDir        = (this.m_light as ILightDir);
     this.m_light.enabled   = this.m_enabled;
     this.m_light.color     = this.m_color;
     this.m_light.intensity = this.m_intensity;
     this.m_light.shadow    = this.m_shadow;
     this.m_light.layer     = this.m_layer;
     this.m_light.enabled   = true;
     this.m_rootObj.addChild(this.m_light);
 }
コード例 #4
0
        public void dispose()
        {
            bool flag = this.m_entity != null;

            if (flag)
            {
                this.m_world.deleteEntity(this.m_entity);
            }
            this.m_asset    = null;
            this.m_part     = null;
            this.m_mountTo  = null;
            this.m_attachTo = null;
            this.m_obj      = null;
            this.m_mtrl     = null;
            this.m_world    = null;
        }
コード例 #5
0
ファイル: GraphManager.cs プロジェクト: moto2002/rongyaojt
        public GRWorld3D createWorld3D(string id)
        {
            bool      flag = this.m_worlds.ContainsKey(id);
            GRWorld3D result;

            if (flag)
            {
                result = this.m_worlds[id];
            }
            else
            {
                GRWorld3D gRWorld3D = new GRWorld3D(id, this);
                this.m_worlds[id] = gRWorld3D;
                result            = gRWorld3D;
            }
            return(result);
        }
コード例 #6
0
 public GREffectParticles3D(string id, GRWorld3D world) : base(id, world)
 {
     this.m_effect = world.scene3d.createEffectParticles();
     this.m_rootObj.addChild(this.m_effect);
 }
コード例 #7
0
ファイル: GRBillboard.cs プロジェクト: moto2002/rongyaojt
 public GRBillboard(string id, GRWorld3D world) : base(id, world)
 {
 }
コード例 #8
0
 public GREffectKnifeLight3D(string id, GRWorld3D world) : base(id, world)
 {
     this.m_effect = world.scene3d.createEffectKnifeLight();
     this.m_rootObj.addChild(this.m_effect);
 }
コード例 #9
0
 public GRAvatarPart3D(GRWorld3D world = null)
 {
     this.m_world = world;
 }
コード例 #10
0
ファイル: GRCamera3D.cs プロジェクト: moto2002/rongyaojt
 public GRCamera3D(string id, GRWorld3D world) : base(id, world)
 {
     this.m_cam = this.m_world.scene3d.createCamera();
     this.m_rootObj.addChild(this.m_cam);
 }
コード例 #11
0
 public GREntity3D(string id, GRWorld3D world)
 {
     this.m_world   = world;
     this.m_id      = id;
     this.m_rootObj = this.m_world.scene3d.createContainer3D();
 }
コード例 #12
0
 public GRStaticMesh3D(string id, GRWorld3D world) : base(id, world)
 {
 }
コード例 #13
0
 public GRLight3D(string id, GRWorld3D world) : base(id, world)
 {
 }