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; }
public GRWorld3D getWorld3D(string id) { GRWorld3D result = null; bool flag = this.m_worlds.ContainsKey(id); if (flag) { result = this.m_worlds[id]; } return(result); }
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); }
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; }
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); }
public GREffectParticles3D(string id, GRWorld3D world) : base(id, world) { this.m_effect = world.scene3d.createEffectParticles(); this.m_rootObj.addChild(this.m_effect); }
public GRBillboard(string id, GRWorld3D world) : base(id, world) { }
public GREffectKnifeLight3D(string id, GRWorld3D world) : base(id, world) { this.m_effect = world.scene3d.createEffectKnifeLight(); this.m_rootObj.addChild(this.m_effect); }
public GRAvatarPart3D(GRWorld3D world = null) { this.m_world = world; }
public GRCamera3D(string id, GRWorld3D world) : base(id, world) { this.m_cam = this.m_world.scene3d.createCamera(); this.m_rootObj.addChild(this.m_cam); }
public GREntity3D(string id, GRWorld3D world) { this.m_world = world; this.m_id = id; this.m_rootObj = this.m_world.scene3d.createContainer3D(); }
public GRStaticMesh3D(string id, GRWorld3D world) : base(id, world) { }
public GRLight3D(string id, GRWorld3D world) : base(id, world) { }