PluginHeader{
	RailSimVersion = 2.12;
	PluginType = Station;
	PluginName = "[設備]第三軌条終端(アンカー型)";
	PluginAuthor = "NyahoTaro";
	IconTexture = "../../Struct/common_nya/nyaicon.png";
	Description = "";
}

StationInfo{
}

DefineSwitch "向き"{
	Entry = "L";
	Entry = "R";
	Entry = "L【反転】";
	Entry = "R【反転】";
}

PrimaryAssembly{
	Object3D "Base_Dummy"{
		ModelFileName = "";
		Joint3D "_LOCAL"{
			AttachCoord = (0.0, 0.4, 0.0);
		}
	}
	Object3D "A"{
		ModelFileName = "";
		ApplySwitch "向き"{
			Case 0:	ChangeModel = "../../Rail/nya_Rail01_cm/ThirdRail/End_L.x", 1.0;
			Case 1:	ChangeModel = "../../Rail/nya_Rail01_cm/ThirdRail/End_R.x", 1.0;
		}
		Joint3D "Base_Dummy"{
			AttachCoord = (0.0, 0.0, 0.0);
			AttachDir = (0.0, 0.0, 1.0);
		}
	}
	Object3D "B"{
		ModelFileName = "";
		ApplySwitch "向き"{
			Case 2:	ChangeModel = "../../Rail/nya_Rail01_cm/ThirdRail/End_L.x", 1.0;
			Case 3:	ChangeModel = "../../Rail/nya_Rail01_cm/ThirdRail/End_R.x", 1.0;
		}
		Joint3D "Base_Dummy"{
			AttachCoord = (0.0, 0.0, 0.0);
			AttachDir = (0.0, 0.0, -1.0);
		}
	}
}