PluginHeader{
	RailSimVersion = 2.00;
	PluginType = Struct;
	PluginName = "[ビル]低層ビル一括セット2";
	PluginAuthor = "n";
	Description = "遠景向きです。";
}

StructInfo{}

DefineSwitch "配置"{
	Entry = "一括1";
	Entry = "一括2";
	Entry = "一括3";
}
DefineSwitch "照明時間"{
	Entry = "自動";
	Entry = "常時";
	Entry = "消灯";
}

PrimaryAssembly{
	　　　　Object3D "model"{
		ModelFileName = "model.x";
		ModelScale = 10.0;
		AlphaZeroTest = 1;
		EnvMap = 0;
		ApplySwitch "配置"{
		Case 1:ChangeModel = "model1.x", 10.0;
		Case 2:ChangeModel = "model2.x", 10.0;
}
		If "照明時間"==0&&"_NIGHT"==1{
		ChangeTexture = 0, "tex/窓点灯.png";
		ChangeMaterial{
		MaterialID = 0;
		Emissive = 1.5, 1.0, 1.0;
		}
		}
		If "照明時間"==1{
		ChangeTexture = 0, "tex/窓点灯.png";
		ChangeMaterial{
		MaterialID = 0;
		Emissive = 1.0, 1.0, 1.0;
		}
		}
		Joint3D "_LOCAL"{
			AttachCoord = (0.0, 0.0, 0.0);
		}
	}
}